Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Trace.cs
- GeometryCollection.cs
- ButtonBaseAdapter.cs
- cookiecollection.cs
- MethodBody.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- DecimalConstantAttribute.cs
- CorrelationManager.cs
- BigInt.cs
- SoapTypeAttribute.cs
- WindowsFormsHelpers.cs
- EpmSyndicationContentSerializer.cs
- CompositeScriptReferenceEventArgs.cs
- ProcessHostConfigUtils.cs
- MenuItemStyle.cs
- HtmlPageAdapter.cs
- SqlParameterizer.cs
- ObjectParameter.cs
- WindowsScrollBar.cs
- CutCopyPasteHelper.cs
- XmlMapping.cs
- Selection.cs
- NameNode.cs
- DeviceSpecificDesigner.cs
- WindowsGraphicsWrapper.cs
- SQlBooleanStorage.cs
- DataObjectMethodAttribute.cs
- FileIOPermission.cs
- followingquery.cs
- ExpandedWrapper.cs
- AspNetSynchronizationContext.cs
- EmptyStringExpandableObjectConverter.cs
- Persist.cs
- EncoderExceptionFallback.cs
- TransformPattern.cs
- UnsafeNativeMethods.cs
- StyleModeStack.cs
- HiddenFieldPageStatePersister.cs
- AttributeCollection.cs
- EntityDataSourceDesigner.cs
- Brush.cs
- IndicFontClient.cs
- RegistryKey.cs
- BCLDebug.cs
- ContentTypeSettingClientMessageFormatter.cs
- DataGridViewCell.cs
- TreeViewImageIndexConverter.cs
- ResourceReferenceExpressionConverter.cs
- UriSection.cs
- AsymmetricKeyExchangeDeformatter.cs
- ZipArchive.cs
- ConstraintManager.cs
- ScopedKnownTypes.cs
- NotifyParentPropertyAttribute.cs
- PolyLineSegment.cs
- MenuItemStyleCollection.cs
- SettingsBindableAttribute.cs
- TemplateApplicationHelper.cs
- AddInEnvironment.cs
- WaitHandleCannotBeOpenedException.cs
- Timeline.cs
- ClipboardData.cs
- CookielessHelper.cs
- MasterPageCodeDomTreeGenerator.cs
- ScriptReferenceBase.cs
- TransformPattern.cs
- InheritanceAttribute.cs
- TimeSpanValidatorAttribute.cs
- Grid.cs
- Brush.cs
- ProcessThreadCollection.cs
- ValueOfAction.cs
- SafeRightsManagementSessionHandle.cs
- XmlMtomWriter.cs
- TimeoutTimer.cs
- DocumentViewerConstants.cs
- unsafeIndexingFilterStream.cs
- StringExpressionSet.cs
- XhtmlBasicTextBoxAdapter.cs
- NetworkAddressChange.cs
- DocumentViewerHelper.cs
- ActivityIdHeader.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- FieldNameLookup.cs
- PingOptions.cs
- SoapServerMessage.cs
- ObjectItemCollection.cs
- XmlLinkedNode.cs
- OracleCommandBuilder.cs
- DependencyObjectType.cs
- MessageFault.cs
- IsolationInterop.cs
- SQLDateTimeStorage.cs
- DataGridViewRowHeaderCell.cs
- SymbolEqualComparer.cs
- JsonReaderDelegator.cs
- HMACSHA1.cs
- AlternateViewCollection.cs
- SecurityManager.cs
- AuthenticationConfig.cs