Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Point3DKeyFrameCollection.cs
- LinqDataSourceView.cs
- SqlError.cs
- MeasureData.cs
- RepeatBehaviorConverter.cs
- BitmapVisualManager.cs
- TypePropertyEditor.cs
- EntityDataSourceDesignerHelper.cs
- StyleModeStack.cs
- RemoteWebConfigurationHost.cs
- Choices.cs
- shaperfactoryquerycachekey.cs
- UserControlCodeDomTreeGenerator.cs
- SecurityException.cs
- ComplexType.cs
- MaterialGroup.cs
- ProtectedProviderSettings.cs
- Header.cs
- XmlSchemaFacet.cs
- LeaseManager.cs
- ByteKeyFrameCollection.cs
- SymbolTable.cs
- AdapterUtil.cs
- PackagePartCollection.cs
- HoistedLocals.cs
- FlagsAttribute.cs
- PrintEvent.cs
- CompilerResults.cs
- BindingExpressionUncommonField.cs
- ObjectConverter.cs
- WebPartMinimizeVerb.cs
- StringValueSerializer.cs
- BitmapEffectGroup.cs
- SqlError.cs
- Scheduling.cs
- URL.cs
- Msec.cs
- ErrorHandler.cs
- NullReferenceException.cs
- ImageListImage.cs
- UnsafeNativeMethods.cs
- BindingGroup.cs
- XmlRootAttribute.cs
- XsdBuildProvider.cs
- MappableObjectManager.cs
- MenuStrip.cs
- XPathQueryGenerator.cs
- TableDetailsCollection.cs
- CachedPathData.cs
- Icon.cs
- activationcontext.cs
- ProcessThreadCollection.cs
- Ops.cs
- TextRangeEditLists.cs
- ListViewSortEventArgs.cs
- InvalidEnumArgumentException.cs
- HebrewNumber.cs
- HttpCookie.cs
- MatrixCamera.cs
- UndoManager.cs
- PasswordRecoveryAutoFormat.cs
- ObjectParameterCollection.cs
- WebBrowserBase.cs
- metadatamappinghashervisitor.cs
- X509Certificate2.cs
- MultiPartWriter.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ExceptionAggregator.cs
- FileDialogCustomPlace.cs
- RedirectionProxy.cs
- SerialReceived.cs
- IPEndPoint.cs
- DesignerSerializationOptionsAttribute.cs
- PrintDialogException.cs
- FlowDocument.cs
- PropertyGridEditorPart.cs
- Message.cs
- DefaultTraceListener.cs
- StaticDataManager.cs
- ConfigXmlText.cs
- Addressing.cs
- BitmapEffectCollection.cs
- ExeContext.cs
- ParameterCollectionEditor.cs
- CursorInteropHelper.cs
- Compiler.cs
- MetabaseReader.cs
- DoubleAnimationUsingPath.cs
- RelationshipFixer.cs
- PasswordTextNavigator.cs
- XmlSchemaSimpleContentRestriction.cs
- XmlIlGenerator.cs
- MulticastDelegate.cs
- ThreadStartException.cs
- GenericXmlSecurityToken.cs
- Maps.cs
- PromptBuilder.cs
- EnumDataContract.cs
- xmlsaver.cs
- Error.cs