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
- SafeUserTokenHandle.cs
- ViewBase.cs
- NoPersistProperty.cs
- ImageClickEventArgs.cs
- DesignUtil.cs
- IncrementalReadDecoders.cs
- EntityAdapter.cs
- EdmSchemaError.cs
- FontCacheUtil.cs
- CompilerErrorCollection.cs
- ResXFileRef.cs
- WebConfigurationHostFileChange.cs
- TreeViewDesigner.cs
- Calendar.cs
- ContentElement.cs
- ProxyGenerator.cs
- ReaderWriterLock.cs
- ServiceOperationParameter.cs
- ModelTreeManager.cs
- HebrewCalendar.cs
- PenThread.cs
- UIElement3D.cs
- InvalidPrinterException.cs
- ColorConverter.cs
- _TLSstream.cs
- MouseGesture.cs
- EllipticalNodeOperations.cs
- ToolStripItemImageRenderEventArgs.cs
- HtmlHead.cs
- Propagator.ExtentPlaceholderCreator.cs
- FixedTextPointer.cs
- Rss20FeedFormatter.cs
- ScrollChrome.cs
- RelationshipFixer.cs
- ExceptionValidationRule.cs
- DirectoryRootQuery.cs
- PasswordBox.cs
- Transform.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- DataGridViewCellMouseEventArgs.cs
- BindingListCollectionView.cs
- Rijndael.cs
- OdbcConnectionString.cs
- MultiPropertyDescriptorGridEntry.cs
- DocumentPageHost.cs
- ExpressionBuilder.cs
- ProcessStartInfo.cs
- ProvideValueServiceProvider.cs
- COM2Enum.cs
- ObjectListCommand.cs
- Point3D.cs
- ConstraintCollection.cs
- ScrollProviderWrapper.cs
- ToolStripHighContrastRenderer.cs
- ProfileEventArgs.cs
- FolderBrowserDialog.cs
- CryptoStream.cs
- WaitHandleCannotBeOpenedException.cs
- LicenseException.cs
- DataGridViewToolTip.cs
- LambdaCompiler.Lambda.cs
- PhonemeEventArgs.cs
- StylusPointPropertyInfo.cs
- CommonRemoteMemoryBlock.cs
- HttpValueCollection.cs
- EventLogPermissionEntry.cs
- EditBehavior.cs
- InvalidWMPVersionException.cs
- QuerySettings.cs
- XmlNamespaceDeclarationsAttribute.cs
- WinFormsComponentEditor.cs
- SchemaMerger.cs
- SQLInt16Storage.cs
- TableLayoutPanelBehavior.cs
- OLEDB_Util.cs
- ListComponentEditor.cs
- AdjustableArrowCap.cs
- AssemblyBuilderData.cs
- XmlCustomFormatter.cs
- JapaneseLunisolarCalendar.cs
- ResourcesChangeInfo.cs
- ContainerUtilities.cs
- RequestTimeoutManager.cs
- Literal.cs
- Point4D.cs
- LinearKeyFrames.cs
- StylusButtonEventArgs.cs
- ThrowHelper.cs
- ListViewDeletedEventArgs.cs
- ZipFileInfoCollection.cs
- TemplateBindingExtensionConverter.cs
- DataControlFieldHeaderCell.cs
- MimeFormatExtensions.cs
- OracleCommandSet.cs
- TextComposition.cs
- TrustLevel.cs
- DbConnectionPool.cs
- MsmqIntegrationBinding.cs
- ZoneLinkButton.cs
- ReferencedCollectionType.cs