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
- ConsumerConnectionPoint.cs
- KnownTypesHelper.cs
- SelectionRange.cs
- StaticExtension.cs
- RIPEMD160.cs
- EtwTrace.cs
- BitmapCodecInfoInternal.cs
- securestring.cs
- Parsers.cs
- SmtpException.cs
- QueryContinueDragEventArgs.cs
- LicenseException.cs
- DebuggerService.cs
- OleAutBinder.cs
- DesignBindingPropertyDescriptor.cs
- StreamProxy.cs
- ADMembershipProvider.cs
- ObjectDataSourceStatusEventArgs.cs
- ConfigurationSectionHelper.cs
- ReferentialConstraint.cs
- GeometryCollection.cs
- MetadataReference.cs
- TimeSpanMinutesConverter.cs
- ReadonlyMessageFilter.cs
- NativeMethodsCLR.cs
- BevelBitmapEffect.cs
- _DigestClient.cs
- FunctionMappingTranslator.cs
- TextTreeRootNode.cs
- SizeAnimationUsingKeyFrames.cs
- ChannelTracker.cs
- UnhandledExceptionEventArgs.cs
- Matrix.cs
- HttpCapabilitiesBase.cs
- RunClient.cs
- MergeFailedEvent.cs
- WindowsGraphicsWrapper.cs
- DataGridColumnEventArgs.cs
- DrawItemEvent.cs
- AdornerPresentationContext.cs
- TextSelectionHighlightLayer.cs
- DnsEndpointIdentity.cs
- DbConnectionHelper.cs
- ConfigXmlWhitespace.cs
- ComboBoxDesigner.cs
- ControlIdConverter.cs
- SqlExpressionNullability.cs
- PlainXmlDeserializer.cs
- InstanceNameConverter.cs
- IERequestCache.cs
- HtmlDocument.cs
- SystemIPGlobalStatistics.cs
- EdmValidator.cs
- TextSegment.cs
- ValidatingReaderNodeData.cs
- XPathDocumentIterator.cs
- LoginAutoFormat.cs
- Floater.cs
- BuildResultCache.cs
- SoapFormatter.cs
- CompressedStack.cs
- Size3D.cs
- RenderContext.cs
- DataGridViewCellPaintingEventArgs.cs
- TypeCodeDomSerializer.cs
- MiniLockedBorderGlyph.cs
- MulticastOption.cs
- Compensation.cs
- SqlPersistenceProviderFactory.cs
- PropertyTabAttribute.cs
- CharacterMetrics.cs
- TypeDescriptorFilterService.cs
- XmlSchemaAppInfo.cs
- GridViewEditEventArgs.cs
- FileDetails.cs
- LinqMaximalSubtreeNominator.cs
- StreamMarshaler.cs
- DataControlFieldCell.cs
- Propagator.ExtentPlaceholderCreator.cs
- InvokeDelegate.cs
- TaskExtensions.cs
- RegexStringValidator.cs
- CapiSymmetricAlgorithm.cs
- MatrixAnimationUsingPath.cs
- WebWorkflowRole.cs
- CodeGenerationManager.cs
- TableLayoutStyle.cs
- AnnotationMap.cs
- XmlSchemaIdentityConstraint.cs
- PropertyPushdownHelper.cs
- EmbeddedObject.cs
- LogicalExpressionEditor.cs
- AuthenticationService.cs
- XMLSchema.cs
- SqlInternalConnectionSmi.cs
- StopStoryboard.cs
- Transform3DGroup.cs
- ExpressionPrefixAttribute.cs
- PlatformNotSupportedException.cs
- JsonXmlDataContract.cs