Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- OpenTypeLayout.cs
- BuildManager.cs
- DefaultIfEmptyQueryOperator.cs
- MultitargetUtil.cs
- AutoResizedEvent.cs
- HeaderedItemsControl.cs
- WorkflowLayouts.cs
- BaseCollection.cs
- ServiceOperationParameter.cs
- XmlSchemaGroup.cs
- AppSettingsExpressionBuilder.cs
- GPRECTF.cs
- CodeAttributeArgument.cs
- DataListComponentEditor.cs
- SymmetricAlgorithm.cs
- PathFigure.cs
- StylusPointPropertyInfo.cs
- OraclePermissionAttribute.cs
- ClickablePoint.cs
- TextRunProperties.cs
- TextParagraph.cs
- UnsafeNativeMethods.cs
- AutoResizedEvent.cs
- Comparer.cs
- Errors.cs
- RenderOptions.cs
- SqlInternalConnectionSmi.cs
- ThemeableAttribute.cs
- OpenTypeLayoutCache.cs
- RootBrowserWindowAutomationPeer.cs
- MailWebEventProvider.cs
- SiteMapSection.cs
- AnnotationMap.cs
- ListViewDataItem.cs
- Section.cs
- SequentialUshortCollection.cs
- OleDragDropHandler.cs
- CompiledRegexRunner.cs
- EdmTypeAttribute.cs
- TextOptions.cs
- AutomationFocusChangedEventArgs.cs
- PolyQuadraticBezierSegment.cs
- TileBrush.cs
- DataTableCollection.cs
- RoutedEventArgs.cs
- AspNetCompatibilityRequirementsMode.cs
- StringConcat.cs
- RadialGradientBrush.cs
- StorageBasedPackageProperties.cs
- AdCreatedEventArgs.cs
- ReachDocumentSequenceSerializer.cs
- Emitter.cs
- XmlSchemaRedefine.cs
- RangeBaseAutomationPeer.cs
- EntityTypeEmitter.cs
- Ref.cs
- ObjectHandle.cs
- PrincipalPermission.cs
- SoapMessage.cs
- TextSelectionProcessor.cs
- StylusPointPropertyInfo.cs
- DesignColumnCollection.cs
- ConfigXmlSignificantWhitespace.cs
- ObjectMaterializedEventArgs.cs
- Page.cs
- VerticalAlignConverter.cs
- BlurEffect.cs
- DataGridViewCellParsingEventArgs.cs
- Interop.cs
- RuleCache.cs
- BinaryObjectWriter.cs
- ElementMarkupObject.cs
- ServiceErrorHandler.cs
- QueryOpeningEnumerator.cs
- StaticDataManager.cs
- SortedDictionary.cs
- EntityPropertyMappingAttribute.cs
- ManifestSignatureInformation.cs
- LinqDataSourceValidationException.cs
- EntityModelSchemaGenerator.cs
- CodeArrayCreateExpression.cs
- RtfToken.cs
- TimelineCollection.cs
- Msmq.cs
- Label.cs
- ClientProxyGenerator.cs
- hebrewshape.cs
- DocumentViewerAutomationPeer.cs
- ConfigurationStrings.cs
- PhysicalAddress.cs
- WindowsAuthenticationModule.cs
- MsmqIntegrationBindingElement.cs
- ConfigurationStrings.cs
- MetabaseServerConfig.cs
- _emptywebproxy.cs
- MetadataSource.cs
- LiteralLink.cs
- SpoolingTaskBase.cs
- RelatedEnd.cs
- SelectionEditor.cs