Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. //------------------------------------------------------------------------------ //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.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
- EntityCommand.cs
- CreateBookmarkScope.cs
- X509ThumbprintKeyIdentifierClause.cs
- DrawingImage.cs
- ReflectPropertyDescriptor.cs
- ReflectPropertyDescriptor.cs
- BinaryObjectInfo.cs
- MappingModelBuildProvider.cs
- GenericWebPart.cs
- CompressedStack.cs
- SizeConverter.cs
- RegexStringValidatorAttribute.cs
- ByteStream.cs
- Grant.cs
- StrokeCollectionDefaultValueFactory.cs
- remotingproxy.cs
- DictionaryBase.cs
- CodeAttributeArgument.cs
- TransformedBitmap.cs
- Dynamic.cs
- CellIdBoolean.cs
- AttachInfo.cs
- FixedPosition.cs
- AuthenticationModulesSection.cs
- InkCanvasAutomationPeer.cs
- ArgIterator.cs
- SamlDelegatingWriter.cs
- SimpleType.cs
- ChooseAction.cs
- TreeNodeClickEventArgs.cs
- DeclarativeConditionsCollection.cs
- DebugView.cs
- ExpressionEditor.cs
- Misc.cs
- ByteStreamGeometryContext.cs
- AsyncResult.cs
- MobileControlDesigner.cs
- StaticResourceExtension.cs
- RawStylusInputReport.cs
- VariableAction.cs
- WrapperSecurityCommunicationObject.cs
- MulticastIPAddressInformationCollection.cs
- BaseParser.cs
- WSDualHttpBindingElement.cs
- ErrorEventArgs.cs
- PeerNeighborManager.cs
- TrackingConditionCollection.cs
- InvocationExpression.cs
- ReflectEventDescriptor.cs
- StandardBindingOptionalReliableSessionElement.cs
- ToolStripSplitStackLayout.cs
- _TimerThread.cs
- ReferencedAssemblyResolver.cs
- DesignerSerializerAttribute.cs
- ComplusTypeValidator.cs
- PackageProperties.cs
- CatalogUtil.cs
- EnumMember.cs
- EventListenerClientSide.cs
- ConfigLoader.cs
- ActivityDesigner.cs
- ApplicationProxyInternal.cs
- ValidatorCollection.cs
- SpellerHighlightLayer.cs
- Bits.cs
- RecognizerStateChangedEventArgs.cs
- DateTimeFormatInfoScanner.cs
- ConstraintEnumerator.cs
- PanelDesigner.cs
- StringAnimationUsingKeyFrames.cs
- PrimitiveXmlSerializers.cs
- RichTextBox.cs
- StrokeCollection.cs
- XamlToRtfWriter.cs
- X509CertificateCollection.cs
- WizardSideBarListControlItemEventArgs.cs
- LineMetrics.cs
- MatrixAnimationBase.cs
- GridView.cs
- Int16AnimationBase.cs
- CompositeClientFormatter.cs
- DesignSurfaceCollection.cs
- PersonalizationStateInfo.cs
- HttpPostLocalhostServerProtocol.cs
- ProviderSettings.cs
- AmbientValueAttribute.cs
- SimpleRecyclingCache.cs
- HttpEncoderUtility.cs
- DesignTable.cs
- Iis7Helper.cs
- GridViewRowCollection.cs
- SplitContainer.cs
- DbConnectionPoolIdentity.cs
- regiisutil.cs
- CodeArrayIndexerExpression.cs
- AnnotationComponentManager.cs
- ValidationRule.cs
- BufferBuilder.cs
- FlowchartDesigner.xaml.cs
- UIElement3DAutomationPeer.cs