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#

public Example(
	string helpText,
	UnParserSettings formatStyle,
	Object sample
)

VB

Public Sub New ( 
	helpText As String,
	formatStyle As UnParserSettings,
	sample As Object
)

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