Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CommandLineParser.cs
- CallContext.cs
- XPathNavigatorReader.cs
- HtmlInputCheckBox.cs
- InternalConfigSettingsFactory.cs
- ObjectStateFormatter.cs
- PenLineCapValidation.cs
- RepeaterDesigner.cs
- FaultImportOptions.cs
- CodeDOMUtility.cs
- FacetChecker.cs
- DesignerActionService.cs
- WebPartDescriptionCollection.cs
- SemanticValue.cs
- WorkflowClientDeliverMessageWrapper.cs
- DoubleAnimationClockResource.cs
- ReverseInheritProperty.cs
- UnhandledExceptionEventArgs.cs
- SqlCacheDependencyDatabase.cs
- ProvideValueServiceProvider.cs
- WhitespaceRuleReader.cs
- XmlQueryStaticData.cs
- AlgoModule.cs
- xmlfixedPageInfo.cs
- ScriptingWebServicesSectionGroup.cs
- TimelineGroup.cs
- AccessedThroughPropertyAttribute.cs
- SqlCharStream.cs
- HybridObjectCache.cs
- EntityDataSourceSelectingEventArgs.cs
- ErrorWrapper.cs
- MatrixUtil.cs
- SerTrace.cs
- SqlBooleanMismatchVisitor.cs
- Constants.cs
- EventArgs.cs
- TextTreeTextElementNode.cs
- FieldMetadata.cs
- PixelShader.cs
- TrackingProfile.cs
- ArrayWithOffset.cs
- Types.cs
- GridViewSortEventArgs.cs
- XmlSchemaExternal.cs
- IOException.cs
- ValueUtilsSmi.cs
- RangeValueProviderWrapper.cs
- PrePostDescendentsWalker.cs
- UniqueSet.cs
- ErrorEventArgs.cs
- StandardToolWindows.cs
- WindowsRichEdit.cs
- TextClipboardData.cs
- TextSegment.cs
- shaperfactory.cs
- CroppedBitmap.cs
- DelimitedListTraceListener.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- XPathNavigatorReader.cs
- _LoggingObject.cs
- XmlProcessingInstruction.cs
- DbConnectionInternal.cs
- OdbcConnectionOpen.cs
- ValueConversionAttribute.cs
- ClassData.cs
- ByteStreamGeometryContext.cs
- StreamWriter.cs
- IItemProperties.cs
- CompiledScopeCriteria.cs
- TemplatedMailWebEventProvider.cs
- WebPartCancelEventArgs.cs
- ErrorHandler.cs
- Constraint.cs
- FacetDescription.cs
- CompoundFileStreamReference.cs
- MenuItemCollection.cs
- BitmapData.cs
- DateTimeFormatInfo.cs
- PerformanceCounterPermission.cs
- DataBindingExpressionBuilder.cs
- XmlSerializerSection.cs
- QuadraticBezierSegment.cs
- Image.cs
- ObjectListTitleAttribute.cs
- CodeMemberMethod.cs
- PrintDialogException.cs
- ThemeDictionaryExtension.cs
- BindingGroup.cs
- ToolStripDropDown.cs
- SequentialUshortCollection.cs
- ADMembershipProvider.cs
- EnvelopedPkcs7.cs
- MessageHeaderInfoTraceRecord.cs
- DataStreams.cs
- HtmlInputRadioButton.cs
- HttpValueCollection.cs
- ProjectionCamera.cs
- SafeProcessHandle.cs
- ScriptResourceAttribute.cs
- ChangeDirector.cs