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
- SimpleTextLine.cs
- DataViewManager.cs
- RootDesignerSerializerAttribute.cs
- HwndSourceParameters.cs
- SystemUdpStatistics.cs
- SqlProvider.cs
- WpfPayload.cs
- Zone.cs
- MembershipPasswordException.cs
- ObjectAnimationBase.cs
- HideDisabledControlAdapter.cs
- PinnedBufferMemoryStream.cs
- X509CertificateCollection.cs
- XmlSerializerSection.cs
- RichTextBoxConstants.cs
- DesignerRegionMouseEventArgs.cs
- RemoteWebConfigurationHost.cs
- RefType.cs
- DataGridViewTextBoxCell.cs
- XslVisitor.cs
- ZipIOBlockManager.cs
- HasCopySemanticsAttribute.cs
- EmbeddedMailObjectsCollection.cs
- DbDataAdapter.cs
- GenericRootAutomationPeer.cs
- BooleanAnimationUsingKeyFrames.cs
- EditorPartChrome.cs
- ButtonBase.cs
- ContentElement.cs
- Command.cs
- TypeUtil.cs
- DocumentOrderComparer.cs
- ThreadAbortException.cs
- ConstructorNeedsTagAttribute.cs
- GenerateScriptTypeAttribute.cs
- UnsafeNativeMethods.cs
- TransactionFlowProperty.cs
- MessageHeaderT.cs
- XmlMtomReader.cs
- PolyBezierSegment.cs
- BuildProviderCollection.cs
- OrderPreservingSpoolingTask.cs
- Helper.cs
- SharedDp.cs
- SortedList.cs
- FlowDocumentReaderAutomationPeer.cs
- InputReportEventArgs.cs
- ConnectionsZone.cs
- CachedPathData.cs
- Msec.cs
- Screen.cs
- PrivateFontCollection.cs
- Stopwatch.cs
- OleDbPermission.cs
- HitTestDrawingContextWalker.cs
- HttpListenerResponse.cs
- Geometry3D.cs
- WindowsScrollBar.cs
- GraphicsState.cs
- PrePrepareMethodAttribute.cs
- JpegBitmapDecoder.cs
- RadioButtonStandardAdapter.cs
- NumberSubstitution.cs
- DebuggerAttributes.cs
- AsyncPostBackErrorEventArgs.cs
- XmlSchemaRedefine.cs
- ListViewItem.cs
- WebServiceData.cs
- ListBoxItemAutomationPeer.cs
- SamlEvidence.cs
- MetafileHeader.cs
- ToolStripSeparator.cs
- DispatcherExceptionEventArgs.cs
- CompoundFileIOPermission.cs
- PostBackOptions.cs
- MemoryMappedFile.cs
- ArgumentNullException.cs
- TabItemWrapperAutomationPeer.cs
- ResourcePermissionBase.cs
- ItemCollectionEditor.cs
- NegationPusher.cs
- SubtreeProcessor.cs
- MemberCollection.cs
- MediaCommands.cs
- WebResourceUtil.cs
- FreezableOperations.cs
- OdbcCommandBuilder.cs
- RectAnimationBase.cs
- MultiView.cs
- GradientBrush.cs
- MessageContractImporter.cs
- RouteTable.cs
- DataTableReader.cs
- AssemblyBuilder.cs
- AnnotationHelper.cs
- OperationInfo.cs
- HostedElements.cs
- PathGeometry.cs
- XamlVector3DCollectionSerializer.cs
- Binding.cs