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
- metrodevice.cs
- NetPeerTcpBinding.cs
- TaskDesigner.cs
- XmlCountingReader.cs
- DrawingContext.cs
- BindingOperations.cs
- PathSegmentCollection.cs
- ApplicationServiceManager.cs
- WebPartRestoreVerb.cs
- DataObjectEventArgs.cs
- SHA256Managed.cs
- StateDesigner.LayoutSelectionGlyph.cs
- MouseActionValueSerializer.cs
- DispatcherEventArgs.cs
- WeakEventManager.cs
- DataSourceHelper.cs
- InvalidWMPVersionException.cs
- AlphabeticalEnumConverter.cs
- TreeView.cs
- GenericRootAutomationPeer.cs
- ImageBrush.cs
- mactripleDES.cs
- GroupStyle.cs
- ManipulationLogic.cs
- UIHelper.cs
- SQLInt32.cs
- LinkButton.cs
- SqlDataSourceFilteringEventArgs.cs
- RefreshEventArgs.cs
- CollectionContainer.cs
- SqlRowUpdatingEvent.cs
- PropertyChangedEventManager.cs
- XmlCodeExporter.cs
- DynamicHyperLink.cs
- FloatAverageAggregationOperator.cs
- DocumentEventArgs.cs
- BrowserCapabilitiesFactory.cs
- ArrayWithOffset.cs
- DocumentApplicationJournalEntryEventArgs.cs
- BamlLocalizableResource.cs
- CodeTypeParameter.cs
- ProxyElement.cs
- CompilerParameters.cs
- JsonServiceDocumentSerializer.cs
- SQLCharsStorage.cs
- Boolean.cs
- Parameter.cs
- HwndStylusInputProvider.cs
- EmbeddedObject.cs
- PostBackTrigger.cs
- MemberJoinTreeNode.cs
- EventEntry.cs
- RIPEMD160.cs
- HtmlElementErrorEventArgs.cs
- SqlMethods.cs
- SequentialUshortCollection.cs
- Int64KeyFrameCollection.cs
- ThreadAttributes.cs
- XamlParser.cs
- ToolboxItemAttribute.cs
- BamlLocalizableResourceKey.cs
- DoubleAnimationUsingKeyFrames.cs
- ProcessProtocolHandler.cs
- VariableQuery.cs
- SharedPersonalizationStateInfo.cs
- FillErrorEventArgs.cs
- Signature.cs
- HttpException.cs
- ProfilePropertyMetadata.cs
- DesignerSerializerAttribute.cs
- MetadataPropertyCollection.cs
- HttpPostLocalhostServerProtocol.cs
- Helpers.cs
- ArrayWithOffset.cs
- ConfigurationSection.cs
- ReadingWritingEntityEventArgs.cs
- InvalidFilterCriteriaException.cs
- WasNotInstalledException.cs
- UserValidatedEventArgs.cs
- HtmlInputReset.cs
- CompiledXpathExpr.cs
- WebPartConnectionsCancelEventArgs.cs
- WebPartVerbCollection.cs
- Section.cs
- CompilationLock.cs
- DictionaryBase.cs
- AutomationFocusChangedEventArgs.cs
- SByteConverter.cs
- NGCPageContentCollectionSerializerAsync.cs
- FontFaceLayoutInfo.cs
- LogExtent.cs
- HyperLinkColumn.cs
- UndirectedGraph.cs
- BamlWriter.cs
- CompositeFontFamily.cs
- Knowncolors.cs
- ContextProperty.cs
- StrokeCollectionDefaultValueFactory.cs
- ResourcePool.cs