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
- CompensationParticipant.cs
- ChannelSinkStacks.cs
- CustomMenuItemCollection.cs
- XmlElementList.cs
- NestedContainer.cs
- MiniModule.cs
- SafeNativeMethods.cs
- PostBackOptions.cs
- ZoomingMessageFilter.cs
- DocumentPageViewAutomationPeer.cs
- NullableLongAverageAggregationOperator.cs
- XPathMessageContext.cs
- TreeView.cs
- PassportPrincipal.cs
- WebConfigurationHostFileChange.cs
- OleDbPermission.cs
- MatrixConverter.cs
- AutomationEvent.cs
- SignatureHelper.cs
- WorkflowTransactionOptions.cs
- ListViewItem.cs
- DesignerAdapterUtil.cs
- CopyOnWriteList.cs
- ServiceHost.cs
- ZipPackagePart.cs
- BinaryCommonClasses.cs
- XmlReaderSettings.cs
- AlternateView.cs
- WindowsAuthenticationModule.cs
- GB18030Encoding.cs
- ConnectionPool.cs
- QueryInterceptorAttribute.cs
- NullReferenceException.cs
- Size.cs
- LogicalExpr.cs
- WindowsComboBox.cs
- TrustManagerMoreInformation.cs
- HtmlTextArea.cs
- XmlSubtreeReader.cs
- DataGridRowEventArgs.cs
- SqlParameter.cs
- HtmlTableCellCollection.cs
- ProcessRequestAsyncResult.cs
- FixedTextPointer.cs
- ViewStateException.cs
- COM2PictureConverter.cs
- SkipStoryboardToFill.cs
- Triangle.cs
- WebPartVerb.cs
- Funcletizer.cs
- ElapsedEventArgs.cs
- XmlReaderDelegator.cs
- Char.cs
- CodeParameterDeclarationExpression.cs
- JoinSymbol.cs
- TypeReference.cs
- TextStore.cs
- FileStream.cs
- ViewgenContext.cs
- WbemException.cs
- EntityContainerRelationshipSet.cs
- RectIndependentAnimationStorage.cs
- ConfigDefinitionUpdates.cs
- ThicknessConverter.cs
- DrawingContext.cs
- CheckBoxPopupAdapter.cs
- Point4DValueSerializer.cs
- DBCommand.cs
- EntitySqlQueryBuilder.cs
- ConfigErrorGlyph.cs
- CustomAttributeSerializer.cs
- HtmlImage.cs
- BamlRecordWriter.cs
- TextServicesHost.cs
- ScriptReferenceEventArgs.cs
- XmlKeywords.cs
- RightsManagementEncryptedStream.cs
- EdmType.cs
- EntityDataSourceColumn.cs
- SamlConstants.cs
- DataGridCellClipboardEventArgs.cs
- Attributes.cs
- NetworkInterface.cs
- CurrentChangedEventManager.cs
- ReflectionServiceProvider.cs
- UnconditionalPolicy.cs
- GroupBoxRenderer.cs
- ProcessThread.cs
- ArraySet.cs
- StorageFunctionMapping.cs
- DocumentViewer.cs
- StyleXamlTreeBuilder.cs
- FontFaceLayoutInfo.cs
- RegexCaptureCollection.cs
- ObjectStateManager.cs
- InternalPermissions.cs
- Validator.cs
- CheckBoxField.cs
- BaseAddressPrefixFilterElementCollection.cs
- CompilerErrorCollection.cs