Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- ListViewCommandEventArgs.cs
- ActivityMetadata.cs
- OleDbRowUpdatingEvent.cs
- Util.cs
- Main.cs
- PreviousTrackingServiceAttribute.cs
- RunWorkerCompletedEventArgs.cs
- FrameworkContentElementAutomationPeer.cs
- webclient.cs
- BitmapEffectGroup.cs
- ViewPort3D.cs
- SqlCacheDependencySection.cs
- TypeCodeDomSerializer.cs
- XmlSerializerFactory.cs
- TextDecoration.cs
- InfoCardTrace.cs
- PriorityBindingExpression.cs
- Ipv6Element.cs
- EventSourceCreationData.cs
- CompiledIdentityConstraint.cs
- QueryExpr.cs
- MachineSettingsSection.cs
- SystemIcmpV6Statistics.cs
- DataSource.cs
- IntPtr.cs
- DateTimeFormatInfo.cs
- InputMethodStateTypeInfo.cs
- Attributes.cs
- TraceRecord.cs
- Help.cs
- NumberSubstitution.cs
- Selector.cs
- SamlAdvice.cs
- StyleSheetComponentEditor.cs
- DatePicker.cs
- WebHostedComPlusServiceHost.cs
- Debug.cs
- ChtmlCalendarAdapter.cs
- MatrixConverter.cs
- Maps.cs
- TreeViewImageGenerator.cs
- BitmapSourceSafeMILHandle.cs
- CultureInfo.cs
- UpdatePanelControlTrigger.cs
- FixedDSBuilder.cs
- EventlogProvider.cs
- DelegatedStream.cs
- WebServiceAttribute.cs
- assertwrapper.cs
- ObjectSet.cs
- DbMetaDataCollectionNames.cs
- InteropEnvironment.cs
- SaveFileDialog.cs
- TreeNodeConverter.cs
- PageParser.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- MemberPath.cs
- ConfigurationSectionGroup.cs
- EdmSchemaAttribute.cs
- TableRowCollection.cs
- IdentityReference.cs
- XmlSchemaNotation.cs
- PlainXmlSerializer.cs
- XmlSchemaInferenceException.cs
- SymDocumentType.cs
- AnnotationComponentChooser.cs
- ValueType.cs
- CommonDialog.cs
- TextAction.cs
- DateTimeValueSerializerContext.cs
- GeneralTransform3DTo2D.cs
- PolicyException.cs
- TypeNameParser.cs
- XslAstAnalyzer.cs
- XmlAttributeCollection.cs
- KnownColorTable.cs
- TaskExceptionHolder.cs
- NameValueFileSectionHandler.cs
- RowToParametersTransformer.cs
- TreeNodeClickEventArgs.cs
- MonthCalendar.cs
- KeyEventArgs.cs
- DriveInfo.cs
- SymbolType.cs
- InstancePersistenceContext.cs
- CodeGroup.cs
- MeshGeometry3D.cs
- updatecommandorderer.cs
- CharAnimationUsingKeyFrames.cs
- IdentityVerifier.cs
- TextElementCollectionHelper.cs
- NativeObjectSecurity.cs
- ObjectReferenceStack.cs
- TextFormatterImp.cs
- BindableTemplateBuilder.cs
- EntityDataSourceSelectedEventArgs.cs
- RotateTransform.cs
- AddInProcess.cs
- RootNamespaceAttribute.cs
- TemplatedAdorner.cs