NAnt SDK Documentation - v0.92 |

# DefaultCommandLineArgumentAttribute Class

Marks a command-line option as being the default option. When the name of a command-line argument is not specified, this option will be assumed.

For a list of all members of this type, see DefaultCommandLineArgumentAttribute Members.

System.Object
System.Attribute
NAnt.Core.Util.CommandLineArgumentAttribute
NAnt.Core.Util.DefaultCommandLineArgumentAttribute

[Visual Basic]
<AttributeUsage(AllowMultiple:=False, Inherited:=True, ValidOn:=AttributeTargets.Property)>
NotInheritable Public Class DefaultCommandLineArgumentAttribute
Inherits CommandLineArgumentAttribute
[C#]
[AttributeUsage(AllowMultiple=False, Inherited=True, ValidOn=AttributeTargets.Property)]
public sealed class DefaultCommandLineArgumentAttribute : CommandLineArgumentAttribute

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Requirements

Namespace: NAnt.Core.Util

Assembly: NAnt.Core (in NAnt.Core.dll)

#### See Also

DefaultCommandLineArgumentAttribute Members | NAnt.Core.Util Namespace