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
- XomlCompilerResults.cs
- ComponentManagerBroker.cs
- SignerInfo.cs
- ConfigurationManagerInternal.cs
- Point.cs
- MediaScriptCommandRoutedEventArgs.cs
- WebResponse.cs
- ToolBarTray.cs
- MethodImplAttribute.cs
- SQLBinaryStorage.cs
- MessageBox.cs
- TemplateXamlTreeBuilder.cs
- EnumConverter.cs
- BinaryMethodMessage.cs
- EdmFunction.cs
- AnnotationHelper.cs
- BidOverLoads.cs
- GcHandle.cs
- RealProxy.cs
- FileVersionInfo.cs
- COM2Enum.cs
- _NetworkingPerfCounters.cs
- ContentTextAutomationPeer.cs
- ContainerControl.cs
- RadioButtonFlatAdapter.cs
- DLinqColumnProvider.cs
- SqlOuterApplyReducer.cs
- OdbcErrorCollection.cs
- SelectingProviderEventArgs.cs
- SerializationAttributes.cs
- SizeFConverter.cs
- SchemaElementDecl.cs
- COM2PropertyDescriptor.cs
- ConsoleKeyInfo.cs
- MediaContextNotificationWindow.cs
- SemanticAnalyzer.cs
- TreeView.cs
- Command.cs
- CustomAttributeFormatException.cs
- SerializableAttribute.cs
- PageBuildProvider.cs
- WorkflowOwnershipException.cs
- MailSettingsSection.cs
- ApplicationProxyInternal.cs
- SamlDoNotCacheCondition.cs
- TemplateContentLoader.cs
- LookupNode.cs
- DataGridLinkButton.cs
- TextElementEnumerator.cs
- PlainXmlDeserializer.cs
- SoapSchemaImporter.cs
- CopyNodeSetAction.cs
- FullTrustAssemblyCollection.cs
- XPathSelfQuery.cs
- PerformanceCounterManager.cs
- StreamReader.cs
- QueryOutputWriterV1.cs
- ItemCheckEvent.cs
- returneventsaver.cs
- HelpHtmlBuilder.cs
- ManifestResourceInfo.cs
- ScriptControl.cs
- XdrBuilder.cs
- TransformerConfigurationWizardBase.cs
- LocationUpdates.cs
- PageBreakRecord.cs
- XpsException.cs
- UriPrefixTable.cs
- FloaterParaClient.cs
- MetaDataInfo.cs
- Nullable.cs
- SiteMembershipCondition.cs
- NotFiniteNumberException.cs
- SimpleWorkerRequest.cs
- JumpTask.cs
- SelectionEditingBehavior.cs
- RepeaterCommandEventArgs.cs
- BaseDataList.cs
- TypeHelper.cs
- EUCJPEncoding.cs
- BuildProvider.cs
- ResourcePermissionBaseEntry.cs
- XmlFormatReaderGenerator.cs
- SortExpressionBuilder.cs
- ScriptResourceInfo.cs
- DockPatternIdentifiers.cs
- FormsAuthenticationConfiguration.cs
- SelectedDatesCollection.cs
- SchemaImporterExtensionElementCollection.cs
- PropertyGridView.cs
- CompositionAdorner.cs
- FontTypeConverter.cs
- Profiler.cs
- ExtensionFile.cs
- IntSecurity.cs
- ClassData.cs
- UnicodeEncoding.cs
- NetworkInterface.cs
- UnsafeNativeMethods.cs
- CollectionViewGroup.cs