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
- WebServiceMethodData.cs
- DataGridViewLinkCell.cs
- StyleBamlTreeBuilder.cs
- RowBinding.cs
- ConfigViewGenerator.cs
- RoleManagerEventArgs.cs
- StringCollection.cs
- ComponentCommands.cs
- XmlSchemaAnnotation.cs
- TextTreeTextBlock.cs
- DataGridViewCellValidatingEventArgs.cs
- ImageIndexConverter.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- WindowCollection.cs
- MimeTypeAttribute.cs
- SingleSelectRootGridEntry.cs
- SessionPageStatePersister.cs
- BamlBinaryReader.cs
- MimeTextImporter.cs
- Rect3DConverter.cs
- SystemIcmpV6Statistics.cs
- SymmetricAlgorithm.cs
- SafeProcessHandle.cs
- EventMemberCodeDomSerializer.cs
- UnionCqlBlock.cs
- ZipIOExtraFieldElement.cs
- CustomCategoryAttribute.cs
- AppSettingsReader.cs
- TypeValidationEventArgs.cs
- DataGridHeaderBorder.cs
- DataRecordInternal.cs
- RemotingConfiguration.cs
- MetadataItem.cs
- StructuredType.cs
- TraceHandler.cs
- TextServicesProperty.cs
- ArrangedElement.cs
- Empty.cs
- X509ChainElement.cs
- InputReport.cs
- FormViewActionList.cs
- SecurityPolicySection.cs
- IriParsingElement.cs
- FlowDocumentPaginator.cs
- _LocalDataStoreMgr.cs
- InfiniteTimeSpanConverter.cs
- TemplateDefinition.cs
- SqlProcedureAttribute.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- Msmq4PoisonHandler.cs
- BrowserDefinitionCollection.cs
- QilScopedVisitor.cs
- SpinWait.cs
- TreeViewImageGenerator.cs
- MemberRelationshipService.cs
- MappingMetadataHelper.cs
- FrameworkTextComposition.cs
- AesManaged.cs
- StreamUpdate.cs
- VisualBrush.cs
- XmlRootAttribute.cs
- DeclarativeCatalogPart.cs
- AccessDataSourceView.cs
- ComponentEditorPage.cs
- UpdatePanelControlTrigger.cs
- XmlSchemaExternal.cs
- ServiceModelConfigurationSection.cs
- WebServiceClientProxyGenerator.cs
- RootBrowserWindowAutomationPeer.cs
- FormViewInsertedEventArgs.cs
- GeneralTransform3DTo2DTo3D.cs
- WorkflowItemsPresenter.cs
- ColorContext.cs
- PackagePart.cs
- prompt.cs
- AssemblyCacheEntry.cs
- BitmapCache.cs
- CngAlgorithm.cs
- SafeCoTaskMem.cs
- XamlTreeBuilderBamlRecordWriter.cs
- Char.cs
- DispatcherOperation.cs
- LayoutEvent.cs
- FtpCachePolicyElement.cs
- Executor.cs
- SqlInternalConnectionTds.cs
- MTConfigUtil.cs
- TableLayoutPanel.cs
- HtmlLabelAdapter.cs
- MenuCommand.cs
- Pts.cs
- DataServiceHost.cs
- StringAnimationBase.cs
- LocalizationComments.cs
- DataControlFieldCell.cs
- GlyphCollection.cs
- EntityModelBuildProvider.cs
- HtmlInputCheckBox.cs
- HttpRequest.cs
- ComNativeDescriptor.cs