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
- CLSCompliantAttribute.cs
- DesignerTransactionCloseEvent.cs
- DataGridViewCellCollection.cs
- WorkflowElementDialogWindow.xaml.cs
- SqlDataAdapter.cs
- RefreshPropertiesAttribute.cs
- ErrorRuntimeConfig.cs
- FixedPageAutomationPeer.cs
- StaticContext.cs
- Pair.cs
- GridViewItemAutomationPeer.cs
- ContentPosition.cs
- ClientTargetSection.cs
- ReadOnlyAttribute.cs
- DataGridViewTextBoxEditingControl.cs
- PartialList.cs
- Vector3DAnimation.cs
- DES.cs
- MessageSmuggler.cs
- MouseBinding.cs
- RuntimeTransactionHandle.cs
- WindowsFormsHelpers.cs
- UrlMappingsModule.cs
- ValidationUtility.cs
- StorageScalarPropertyMapping.cs
- RIPEMD160.cs
- ValueProviderWrapper.cs
- RuleConditionDialog.Designer.cs
- ContractMapping.cs
- RequestCacheEntry.cs
- CompatibleComparer.cs
- Condition.cs
- ScrollProperties.cs
- HitTestParameters.cs
- Package.cs
- TableParagraph.cs
- CustomLineCap.cs
- ServiceAuthorizationManager.cs
- _LoggingObject.cs
- SafeHandle.cs
- StateMachine.cs
- smtppermission.cs
- BasicExpressionVisitor.cs
- DbProviderFactories.cs
- ViewStateModeByIdAttribute.cs
- EditorZoneBase.cs
- FileUtil.cs
- DataException.cs
- SqlFacetAttribute.cs
- EndpointDiscoveryElement.cs
- BamlTreeUpdater.cs
- GridViewUpdateEventArgs.cs
- IsolatedStorageException.cs
- ScopelessEnumAttribute.cs
- CustomCategoryAttribute.cs
- COM2ComponentEditor.cs
- DeploymentSection.cs
- IncrementalReadDecoders.cs
- ReflectTypeDescriptionProvider.cs
- NetworkInterface.cs
- RadialGradientBrush.cs
- DesignerSerializationManager.cs
- TabletDevice.cs
- SoapClientMessage.cs
- RtfToken.cs
- SessionStateSection.cs
- SnapshotChangeTrackingStrategy.cs
- PtsPage.cs
- CheckBoxFlatAdapter.cs
- SafeLibraryHandle.cs
- TextRenderer.cs
- PageThemeCodeDomTreeGenerator.cs
- TreeNodeConverter.cs
- MediaElementAutomationPeer.cs
- AsymmetricSignatureDeformatter.cs
- TemplateControl.cs
- BmpBitmapDecoder.cs
- Typeface.cs
- QueuePropertyVariants.cs
- ArrayHelper.cs
- IsolatedStoragePermission.cs
- InvalidDocumentContentsException.cs
- HyperLinkStyle.cs
- DataGridRelationshipRow.cs
- ParentQuery.cs
- NameSpaceExtractor.cs
- InternalTransaction.cs
- DataRowCollection.cs
- SerialReceived.cs
- ISFTagAndGuidCache.cs
- ConnectionInterfaceCollection.cs
- ZoneMembershipCondition.cs
- versioninfo.cs
- ColorBlend.cs
- TableParaClient.cs
- ColorConvertedBitmap.cs
- GregorianCalendarHelper.cs
- DataGridViewTextBoxColumn.cs
- DbConnectionStringBuilder.cs
- OleDbPropertySetGuid.cs