Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / CommandEventArgs.cs / 1 / CommandEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class CommandEventArgs : EventArgs { private string commandName; private object argument; ///Provides data for the ///event. /// public CommandEventArgs(CommandEventArgs e) : this(e.CommandName, e.CommandArgument) { } ///Initializes a new instance of the ///class with another . /// public CommandEventArgs(string commandName, object argument) { this.commandName = commandName; this.argument = argument; } ///Initializes a new instance of the ///class with the specified command name /// and argument. /// public string CommandName { get { return commandName; } } ///Gets the name of the command. This property is read-only. ////// public object CommandArgument { get { return argument; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //Gets the argument for the command. This property is read-only. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class CommandEventArgs : EventArgs { private string commandName; private object argument; ///Provides data for the ///event. /// public CommandEventArgs(CommandEventArgs e) : this(e.CommandName, e.CommandArgument) { } ///Initializes a new instance of the ///class with another . /// public CommandEventArgs(string commandName, object argument) { this.commandName = commandName; this.argument = argument; } ///Initializes a new instance of the ///class with the specified command name /// and argument. /// public string CommandName { get { return commandName; } } ///Gets the name of the command. This property is read-only. ////// public object CommandArgument { get { return argument; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Gets the argument for the command. This property is read-only. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Image.cs
- arclist.cs
- GeneralTransform3D.cs
- WindowClosedEventArgs.cs
- TreeViewImageKeyConverter.cs
- RowSpanVector.cs
- TextTreeUndo.cs
- XPathNavigatorReader.cs
- SQLGuid.cs
- DataSourceView.cs
- BindingContext.cs
- DateTimeParse.cs
- EmptyElement.cs
- SessionStateContainer.cs
- SegmentInfo.cs
- DBCSCodePageEncoding.cs
- AuthenticateEventArgs.cs
- GridToolTip.cs
- ComplexObject.cs
- ThicknessAnimation.cs
- ControlBuilder.cs
- SocketStream.cs
- ToolStripManager.cs
- ConcurrentStack.cs
- _emptywebproxy.cs
- UIElementParagraph.cs
- HexParser.cs
- AccessedThroughPropertyAttribute.cs
- dsa.cs
- AttachInfo.cs
- Grant.cs
- WrapperEqualityComparer.cs
- SerializationHelper.cs
- SafePointer.cs
- XmlSchemaGroupRef.cs
- SecurityContext.cs
- MethodAccessException.cs
- WebServiceHandler.cs
- PeerName.cs
- ResXDataNode.cs
- DisplayInformation.cs
- XmlIlTypeHelper.cs
- ConfigurationException.cs
- LassoHelper.cs
- PathFigure.cs
- StackSpiller.Temps.cs
- DbTransaction.cs
- DatagridviewDisplayedBandsData.cs
- TextRangeEditTables.cs
- StatusBarDrawItemEvent.cs
- InfoCardBaseException.cs
- NamedPipeAppDomainProtocolHandler.cs
- TimeoutException.cs
- Bits.cs
- Visual3D.cs
- ProfilePropertyNameValidator.cs
- TextStore.cs
- XmlCustomFormatter.cs
- CompilationUnit.cs
- AnnouncementDispatcherAsyncResult.cs
- LogReservationCollection.cs
- WorkflowDefinitionDispenser.cs
- KerberosRequestorSecurityToken.cs
- TextTreeRootNode.cs
- SqlGatherProducedAliases.cs
- MinimizableAttributeTypeConverter.cs
- ObjectListTitleAttribute.cs
- CodeAttributeArgumentCollection.cs
- WizardPanelChangingEventArgs.cs
- ImageCollectionEditor.cs
- DecoratedNameAttribute.cs
- newitemfactory.cs
- DocumentViewerAutomationPeer.cs
- MonthChangedEventArgs.cs
- SHA256CryptoServiceProvider.cs
- WindowsSysHeader.cs
- CursorConverter.cs
- SqlDataSourceWizardForm.cs
- DesignTimeVisibleAttribute.cs
- propertyentry.cs
- CommandField.cs
- Brush.cs
- XpsPackagingException.cs
- PropertySourceInfo.cs
- ReadOnlyDataSource.cs
- MissingMemberException.cs
- cryptoapiTransform.cs
- X509CertificateInitiatorClientCredential.cs
- WebContext.cs
- DayRenderEvent.cs
- ConfigXmlText.cs
- VariableBinder.cs
- TraceUtils.cs
- CurrencyManager.cs
- HashHelpers.cs
- AdornerPresentationContext.cs
- PKCS1MaskGenerationMethod.cs
- FileRecordSequence.cs
- TransformDescriptor.cs
- ExpressionEditorAttribute.cs