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
- ValueOfAction.cs
- xsdvalidator.cs
- XmlSchemaNotation.cs
- Internal.cs
- SpellerStatusTable.cs
- ToolBarTray.cs
- SafeEventHandle.cs
- NumericExpr.cs
- ToolStripItemRenderEventArgs.cs
- WebEvents.cs
- recordstate.cs
- Geometry.cs
- ListBox.cs
- PermissionToken.cs
- ProviderUtil.cs
- Action.cs
- XmlSerializationReader.cs
- ObjectHandle.cs
- LOSFormatter.cs
- SqlTypesSchemaImporter.cs
- ConnectionManagementElement.cs
- LinqDataSourceContextEventArgs.cs
- WorkerProcess.cs
- DataServiceProcessingPipelineEventArgs.cs
- SmiMetaData.cs
- GridViewSelectEventArgs.cs
- XmlSchemaCollection.cs
- VoiceSynthesis.cs
- FixedSOMFixedBlock.cs
- SerialPort.cs
- ApplicationManager.cs
- BitmapData.cs
- ClientRuntimeConfig.cs
- UmAlQuraCalendar.cs
- RegistryPermission.cs
- XamlSerializer.cs
- ColorAnimation.cs
- StringComparer.cs
- DBSqlParserColumnCollection.cs
- SoapIncludeAttribute.cs
- TraceEventCache.cs
- PeerContact.cs
- CFStream.cs
- TextEditorDragDrop.cs
- SecurityNegotiationException.cs
- AuthenticationModuleElementCollection.cs
- DefaultSection.cs
- ArrangedElementCollection.cs
- safex509handles.cs
- JoinTreeSlot.cs
- ParallelTimeline.cs
- HttpProxyCredentialType.cs
- WeakHashtable.cs
- IndexObject.cs
- _FtpDataStream.cs
- Enum.cs
- CodeAttachEventStatement.cs
- Aggregates.cs
- XPathDocument.cs
- OracleColumn.cs
- CompositeControl.cs
- GraphicsContext.cs
- HeaderUtility.cs
- ObjectFullSpanRewriter.cs
- BoundField.cs
- CompilationSection.cs
- XmlEntityReference.cs
- CompilationUtil.cs
- TemplateParser.cs
- DynamicHyperLink.cs
- RoleGroupCollectionEditor.cs
- QilXmlReader.cs
- PointCollectionValueSerializer.cs
- XmlSignificantWhitespace.cs
- MsmqHostedTransportManager.cs
- BackEase.cs
- DefinitionProperties.cs
- ImageUrlEditor.cs
- NestedContainer.cs
- ThemeableAttribute.cs
- UnsafeNativeMethods.cs
- DNS.cs
- BoundPropertyEntry.cs
- GenericParameterDataContract.cs
- FontSourceCollection.cs
- WindowsFormsDesignerOptionService.cs
- View.cs
- XmlSerializerNamespaces.cs
- NumberFormatter.cs
- ToolStripHighContrastRenderer.cs
- XmlCountingReader.cs
- RNGCryptoServiceProvider.cs
- SmiContext.cs
- WorkItem.cs
- SplashScreenNativeMethods.cs
- UnsafeNativeMethods.cs
- CorrelationTokenTypeConvertor.cs
- ServiceMemoryGates.cs
- FtpWebResponse.cs
- ObjectViewQueryResultData.cs