Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- LiteralSubsegment.cs
- KnownIds.cs
- DataGridRelationshipRow.cs
- XmlQualifiedName.cs
- HTTPRemotingHandler.cs
- UseLicense.cs
- ColorInterpolationModeValidation.cs
- GradientSpreadMethodValidation.cs
- SynthesizerStateChangedEventArgs.cs
- OleDbStruct.cs
- CollectionDataContract.cs
- RequestCachePolicyConverter.cs
- lengthconverter.cs
- LifetimeServices.cs
- PrintDialogException.cs
- PeerNameRecord.cs
- TextRunCache.cs
- EditorPartDesigner.cs
- EmptyQuery.cs
- InertiaRotationBehavior.cs
- MessageSecurityVersionConverter.cs
- TextEndOfParagraph.cs
- ChangeToolStripParentVerb.cs
- TrackingValidationObjectDictionary.cs
- ViewSimplifier.cs
- FactoryRecord.cs
- LineVisual.cs
- XomlCompilerParameters.cs
- ShadowGlyph.cs
- GeneralTransform3DCollection.cs
- GlyphRunDrawing.cs
- RefreshPropertiesAttribute.cs
- PageParserFilter.cs
- XmlNodeChangedEventManager.cs
- EventProviderBase.cs
- UInt16Storage.cs
- printdlgexmarshaler.cs
- SqlBulkCopyColumnMapping.cs
- BinaryObjectWriter.cs
- ExpressionSelection.cs
- X509LogoTypeExtension.cs
- UiaCoreApi.cs
- ReceiveSecurityHeader.cs
- WebBrowserPermission.cs
- TextChange.cs
- HtmlControl.cs
- WebPartHelpVerb.cs
- MinimizableAttributeTypeConverter.cs
- PkcsMisc.cs
- SQLMembershipProvider.cs
- NavigationEventArgs.cs
- MethodBuilderInstantiation.cs
- EnlistmentTraceIdentifier.cs
- StylusPointProperties.cs
- ComponentCollection.cs
- HttpCookiesSection.cs
- XsltLoader.cs
- VirtualPathExtension.cs
- ResourceDescriptionAttribute.cs
- BamlResourceContent.cs
- RoutedEventValueSerializer.cs
- Tuple.cs
- Propagator.ExtentPlaceholderCreator.cs
- PageClientProxyGenerator.cs
- Point3DCollection.cs
- SegmentInfo.cs
- ArgumentNullException.cs
- ConfigurationErrorsException.cs
- TypeGeneratedEventArgs.cs
- TextModifier.cs
- InstanceView.cs
- NameScopePropertyAttribute.cs
- AccessedThroughPropertyAttribute.cs
- JsonFormatGeneratorStatics.cs
- CFStream.cs
- HTMLTextWriter.cs
- RelationshipWrapper.cs
- GridItemProviderWrapper.cs
- HideDisabledControlAdapter.cs
- EntityDataSourceColumn.cs
- StringValidatorAttribute.cs
- TypefaceMetricsCache.cs
- DrawingImage.cs
- DataFormats.cs
- CodeTypeDelegate.cs
- NetworkStream.cs
- SendingRequestEventArgs.cs
- WebConfigurationFileMap.cs
- QueryOptionExpression.cs
- AssemblyBuilder.cs
- UInt64.cs
- Brush.cs
- DataKey.cs
- CqlParserHelpers.cs
- EmissiveMaterial.cs
- SelectionItemPattern.cs
- SecurityContext.cs
- ConfigurationManagerHelperFactory.cs
- MasterPageBuildProvider.cs
- CroppedBitmap.cs