Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

M_CommandLine_OptionAttribute__ctor_2

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

OptionAttribute Constructor (Char, String)

Initializes a new instance of the OptionAttribute class.

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

Syntax

C#

public OptionAttribute(
	char shortName,
	string longName
)

VB

Public Sub New ( 
	shortName As Char,
	longName As String
)

C++

public:
OptionAttribute(
	wchar_t shortName, 
	String^ longName
)

F#

new : 
        shortName : char * 
        longName : string -> OptionAttribute

Parameters

 

shortName
Type: System.Char
The short name of the option.
longName
Type: System.String
The long name of the option or null if not used.

See Also

Reference

OptionAttribute Class
OptionAttribute Overload
CommandLine Namespace

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.