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
- ProfileModule.cs
- QilName.cs
- SqlNotificationRequest.cs
- IDispatchConstantAttribute.cs
- InstanceKeyCompleteException.cs
- HostedNamedPipeTransportManager.cs
- DSACryptoServiceProvider.cs
- TreeNodeSelectionProcessor.cs
- ObjectDataSourceFilteringEventArgs.cs
- NumberEdit.cs
- DataServiceExpressionVisitor.cs
- CqlParser.cs
- RootBuilder.cs
- SiteMapPath.cs
- DesignerActionVerbList.cs
- FileDialog_Vista_Interop.cs
- DataGridTextBoxColumn.cs
- Transform3D.cs
- namescope.cs
- DocumentsTrace.cs
- ObjectContextServiceProvider.cs
- SiteMapSection.cs
- StringFunctions.cs
- DetailsViewDeletedEventArgs.cs
- RectAnimationUsingKeyFrames.cs
- SqlBooleanMismatchVisitor.cs
- _LocalDataStoreMgr.cs
- FileRecordSequenceCompletedAsyncResult.cs
- NativeCompoundFileAPIs.cs
- PersonalizationStateInfoCollection.cs
- SoapSchemaExporter.cs
- Stackframe.cs
- AccessDataSource.cs
- WebBrowserDesigner.cs
- SafeLocalMemHandle.cs
- _Rfc2616CacheValidators.cs
- SetStateDesigner.cs
- linebase.cs
- WebPartChrome.cs
- DataServiceEntityAttribute.cs
- SQLInt16.cs
- MethodBuilder.cs
- ToolStripContentPanel.cs
- DataGridViewTextBoxEditingControl.cs
- WebServiceFaultDesigner.cs
- URLAttribute.cs
- Permission.cs
- FileRecordSequenceCompletedAsyncResult.cs
- IisTraceWebEventProvider.cs
- TemplateLookupAction.cs
- Script.cs
- TargetConverter.cs
- System.Data.OracleClient_BID.cs
- RawContentTypeMapper.cs
- XmlSchemaRedefine.cs
- EncodingTable.cs
- ContentTypeSettingClientMessageFormatter.cs
- _FtpControlStream.cs
- EventSinkHelperWriter.cs
- DBNull.cs
- HandlerFactoryWrapper.cs
- ProjectionCamera.cs
- DataMemberConverter.cs
- DiscoveryInnerClientManaged11.cs
- ToolStripOverflowButton.cs
- SqlInfoMessageEvent.cs
- precedingquery.cs
- SByteStorage.cs
- ReachDocumentReferenceCollectionSerializer.cs
- Utils.cs
- Brushes.cs
- RegistryKey.cs
- ViewLoader.cs
- GraphicsPath.cs
- DiscoveryMessageSequenceGenerator.cs
- RightsManagementPermission.cs
- BrowserInteropHelper.cs
- FixedSOMElement.cs
- CodeConditionStatement.cs
- LinqDataSourceDeleteEventArgs.cs
- ActiveDesignSurfaceEvent.cs
- FontFamily.cs
- OdbcPermission.cs
- ImagingCache.cs
- ColumnMapVisitor.cs
- InvalidOleVariantTypeException.cs
- ListViewGroupItemCollection.cs
- SessionPageStatePersister.cs
- SkewTransform.cs
- UnaryNode.cs
- OracleMonthSpan.cs
- DynamicAttribute.cs
- LocalizationParserHooks.cs
- XmlFormatWriterGenerator.cs
- loginstatus.cs
- XmlSchemaAll.cs
- Int64Converter.cs
- KerberosReceiverSecurityToken.cs
- PerfCounters.cs
- Content.cs