Skip to content

M_CommandLine_Text_Example__ctor

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

Example Constructor (String, UnParserSettings, Object)

Initializes a new instance of the Example class.

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

Syntax

C#

publicExample(string helpText,UnParserSettings formatStyle,Object sample )

VB

PublicSubNew(helpTextAsString,formatStyleAsUnParserSettings,sampleAsObject)

C++

public:Example( String^ helpText, UnParserSettings^ formatStyle, Object^ sample )

F#

new: helpText : string * formatStyle : UnParserSettings * sample : Object -> Example

Parameters

helpText
Type: System.String
Example description.
formatStyle
Type: CommandLine.UnParserSettings
A UnParserSettings instance that defines command line arguments format.
sample
Type: System.Object
A sample instance.

See Also

Reference

Example Class
Example Overload
CommandLine.Text Namespace

Clone this wiki locally