Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }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
- FormView.cs
- TokenBasedSet.cs
- QueryConverter.cs
- SuppressMergeCheckAttribute.cs
- SerializationSectionGroup.cs
- BamlVersionHeader.cs
- RuntimeCompatibilityAttribute.cs
- Module.cs
- DataExpression.cs
- TextEffectCollection.cs
- BufferedReadStream.cs
- DbParameterCollectionHelper.cs
- ScriptReference.cs
- Utilities.cs
- Pair.cs
- GenericAuthenticationEventArgs.cs
- XmlUTF8TextWriter.cs
- DataBoundControl.cs
- BuildProvider.cs
- ProtectedConfigurationProviderCollection.cs
- LogArchiveSnapshot.cs
- ListViewItemSelectionChangedEvent.cs
- SortKey.cs
- ListParagraph.cs
- SqlDataSourceStatusEventArgs.cs
- DataObject.cs
- AsymmetricSignatureDeformatter.cs
- WorkflowInstanceQuery.cs
- GeneratedView.cs
- panel.cs
- FullTrustAssembliesSection.cs
- IndependentlyAnimatedPropertyMetadata.cs
- CultureInfoConverter.cs
- SqlDataReaderSmi.cs
- ExchangeUtilities.cs
- BitmapEffectInput.cs
- WebPartUtil.cs
- ConfigsHelper.cs
- EventListener.cs
- ConfigurationElementCollection.cs
- DateTimeFormat.cs
- SchemaNamespaceManager.cs
- AuthenticationServiceManager.cs
- ElementNotAvailableException.cs
- FormViewPagerRow.cs
- BitVec.cs
- ReadOnlyDataSourceView.cs
- MenuRenderer.cs
- MetadataSource.cs
- SqlUtils.cs
- DescriptionAttribute.cs
- BinaryMethodMessage.cs
- AutoResetEvent.cs
- InternalConfigHost.cs
- Trace.cs
- XMLDiffLoader.cs
- VirtualDirectoryMappingCollection.cs
- ItemCheckedEvent.cs
- XMLSyntaxException.cs
- AudioStateChangedEventArgs.cs
- AuthorizationRule.cs
- TextViewSelectionProcessor.cs
- ComplexTypeEmitter.cs
- SQLInt64.cs
- CorrelationKeyCalculator.cs
- Char.cs
- externdll.cs
- TextTreeRootNode.cs
- UnorderedHashRepartitionStream.cs
- HostVisual.cs
- OdbcConnectionHandle.cs
- _NetRes.cs
- CodeNamespace.cs
- MenuEventArgs.cs
- DataPagerCommandEventArgs.cs
- LoginDesigner.cs
- ExpressionServices.cs
- CardSpacePolicyElement.cs
- FixedSOMContainer.cs
- ClientTargetCollection.cs
- CommonObjectSecurity.cs
- DateTimeEditor.cs
- ToolboxItemCollection.cs
- HttpMethodConstraint.cs
- TrackingLocation.cs
- FileVersionInfo.cs
- DetailsViewActionList.cs
- ValidationSummary.cs
- Convert.cs
- CheckPair.cs
- PointValueSerializer.cs
- LineProperties.cs
- ScriptMethodAttribute.cs
- JournalNavigationScope.cs
- ConfigurationException.cs
- MailMessageEventArgs.cs
- NegotiateStream.cs
- RemoteWebConfigurationHost.cs
- HandlerBase.cs
- ExpressionWriter.cs