Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / 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. ///// 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
- CacheAxisQuery.cs
- AmbientProperties.cs
- IntSumAggregationOperator.cs
- EndOfStreamException.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- DataControlImageButton.cs
- _CacheStreams.cs
- PropVariant.cs
- EventSinkHelperWriter.cs
- MissingMemberException.cs
- MemberProjectedSlot.cs
- ThreadStartException.cs
- ContactManager.cs
- SignatureDescription.cs
- ConnectionInterfaceCollection.cs
- ErrorLog.cs
- ViewGenResults.cs
- TextServicesCompartment.cs
- RowCache.cs
- HostingEnvironmentException.cs
- CodeArgumentReferenceExpression.cs
- CopyNodeSetAction.cs
- TreeViewCancelEvent.cs
- EventProperty.cs
- CustomAttribute.cs
- SymbolTable.cs
- ClusterRegistryConfigurationProvider.cs
- HierarchicalDataTemplate.cs
- VectorKeyFrameCollection.cs
- SessionStateItemCollection.cs
- EventDescriptor.cs
- SamlAssertionKeyIdentifierClause.cs
- shaperfactory.cs
- PerformanceCounterManager.cs
- BindingContext.cs
- TableCell.cs
- HtmlInputRadioButton.cs
- BamlBinaryWriter.cs
- ZoneButton.cs
- HotSpotCollection.cs
- ADConnectionHelper.cs
- RegexReplacement.cs
- MenuRenderer.cs
- XmlAnyAttributeAttribute.cs
- SettingsPropertyIsReadOnlyException.cs
- WaitHandle.cs
- ContentPosition.cs
- GridEntryCollection.cs
- TabItem.cs
- AssemblyBuilder.cs
- ToolStripGripRenderEventArgs.cs
- DynamicEntity.cs
- BamlLocalizabilityResolver.cs
- ReservationCollection.cs
- ProfileSection.cs
- TableRow.cs
- XPathDocument.cs
- WebScriptMetadataInstanceContextProvider.cs
- HostExecutionContextManager.cs
- SqlEnums.cs
- ConfigXmlComment.cs
- DataSourceSelectArguments.cs
- XmlUtil.cs
- CodeTypeReferenceCollection.cs
- BufferModeSettings.cs
- AppearanceEditorPart.cs
- CombinedTcpChannel.cs
- DataServiceHost.cs
- QilNode.cs
- CustomGrammar.cs
- InvalidDocumentContentsException.cs
- LinqDataSourceHelper.cs
- ListBoxItem.cs
- VirtualPathData.cs
- StringUtil.cs
- ConfigurationStrings.cs
- InvalidateEvent.cs
- DataChangedEventManager.cs
- CompilerState.cs
- BaseTemplateBuildProvider.cs
- JsonFormatReaderGenerator.cs
- _NegoStream.cs
- VolatileEnlistmentMultiplexing.cs
- MediaContext.cs
- TextWriter.cs
- EmptyElement.cs
- X509ChainPolicy.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ParallelLoopState.cs
- MediaEntryAttribute.cs
- MultiDataTrigger.cs
- sqlstateclientmanager.cs
- UnSafeCharBuffer.cs
- SQLRoleProvider.cs
- DataSourceControl.cs
- RangeBase.cs
- AuthenticationModuleElement.cs
- FileStream.cs
- xml.cs
- EventTrigger.cs