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
- Decoder.cs
- TextEditorCharacters.cs
- Polyline.cs
- EmptyImpersonationContext.cs
- WmfPlaceableFileHeader.cs
- TextUtf8RawTextWriter.cs
- DeadCharTextComposition.cs
- XsltException.cs
- ExpressionVisitorHelpers.cs
- ConstantProjectedSlot.cs
- SQLMoneyStorage.cs
- MsmqIntegrationInputChannel.cs
- ScrollContentPresenter.cs
- SecurityTokenInclusionMode.cs
- SignatureToken.cs
- SnapLine.cs
- ServiceModelDictionary.cs
- CodePageUtils.cs
- DesignerDataRelationship.cs
- Stopwatch.cs
- SettingsAttributes.cs
- WindowsEditBoxRange.cs
- DataTransferEventArgs.cs
- Cursor.cs
- StyleCollection.cs
- TreeNode.cs
- ResourceManager.cs
- HttpRuntime.cs
- PartitionResolver.cs
- SqlConnectionStringBuilder.cs
- Run.cs
- Config.cs
- FillRuleValidation.cs
- PathData.cs
- XPathMessageFilterTable.cs
- Model3DGroup.cs
- FontFamily.cs
- SmtpFailedRecipientException.cs
- BinaryNode.cs
- RoleManagerSection.cs
- GraphicsContext.cs
- ListBox.cs
- MimeBasePart.cs
- EdmFunction.cs
- PreviewPrintController.cs
- SqlTypeConverter.cs
- WorkflowRuntime.cs
- WindowsNonControl.cs
- ProtocolViolationException.cs
- WebPartConnectionsEventArgs.cs
- OuterGlowBitmapEffect.cs
- XmlQualifiedName.cs
- DataGridSortCommandEventArgs.cs
- XmlWellformedWriter.cs
- DataView.cs
- PartitionedDataSource.cs
- AnnotationService.cs
- SqlCommandBuilder.cs
- SelectManyQueryOperator.cs
- FillRuleValidation.cs
- SqlBulkCopyColumnMappingCollection.cs
- InlinedLocationReference.cs
- GridViewDeletedEventArgs.cs
- Assert.cs
- ByteStream.cs
- QueryOutputWriter.cs
- CodeDirectoryCompiler.cs
- XmlSchemaSimpleTypeList.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- UnauthorizedAccessException.cs
- RichTextBoxConstants.cs
- XmlNullResolver.cs
- GridViewCommandEventArgs.cs
- SmtpDigestAuthenticationModule.cs
- ConfigXmlAttribute.cs
- TextRunCacheImp.cs
- DataGridTable.cs
- MultipleViewPattern.cs
- UIElementAutomationPeer.cs
- RelatedView.cs
- XmlSchemaRedefine.cs
- DataGridCellsPresenter.cs
- DeadCharTextComposition.cs
- DispatcherHooks.cs
- CaseInsensitiveComparer.cs
- dataprotectionpermissionattribute.cs
- Comparer.cs
- SecurityTokenException.cs
- ForEachAction.cs
- EnvelopedPkcs7.cs
- CharEnumerator.cs
- GeneratedCodeAttribute.cs
- CaseInsensitiveOrdinalStringComparer.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- ContainerFilterService.cs
- ApplicationException.cs
- ConfigurationElementCollection.cs
- EdmConstants.cs
- RegexFCD.cs
- DirectoryInfo.cs