.NET Framework Class Library |
DefaultArgumentAttribute Class |
Members SeeAlso Send Feedback |
Indicates that this argument is the default argument.
'/' or '-' prefix only the argument value is specified.
The ShortName property should not be set for DefaultArgumentAttribute
instances. The LongName property is used for usage text only and
does not affect the usage of the argument.
Namespace:
Nsoft.Utilities.CommandLineAssembly: Nsoft.Utilities (in Nsoft.Utilities.dll)
Syntax
Visual Basic (Declaration) |
---|
<AttributeUsageAttribute(AttributeTargets.Field)> _ Public Class DefaultArgumentAttribute _ Inherits ArgumentAttribute |
C# |
---|
[AttributeUsageAttribute(AttributeTargets.Field)] public class DefaultArgumentAttribute : ArgumentAttribute |
Visual C++ |
---|
[AttributeUsageAttribute(AttributeTargets::Field)] public ref class DefaultArgumentAttribute : public ArgumentAttribute |
JavaScript |
---|
Nsoft.Utilities.CommandLine.DefaultArgumentAttribute = function(); Type.createClass( 'Nsoft.Utilities.CommandLine.DefaultArgumentAttribute', Nsoft.Utilities.CommandLine.ArgumentAttribute); |
Inheritance Hierarchy
System..::.Object
System..::.Attribute
Nsoft.Utilities.CommandLine..::.ArgumentAttribute
Nsoft.Utilities.CommandLine..::.DefaultArgumentAttribute
System..::.Attribute
Nsoft.Utilities.CommandLine..::.ArgumentAttribute
Nsoft.Utilities.CommandLine..::.DefaultArgumentAttribute