Skip to content

M_CommandLine_OptionAttribute__ctor_3

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

OptionAttribute Constructor (String)

Initializes a new instance of the OptionAttribute class.

Namespace:CommandLine
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

publicOptionAttribute(string longName )

VB

PublicSubNew(longNameAsString)

C++

public:OptionAttribute( String^ longName )

F#

new: longName : string -> OptionAttribute

Parameters

longName
Type: System.String
The long name of the option.

See Also

Reference

OptionAttribute Class
OptionAttribute Overload
CommandLine Namespace

Clone this wiki locally