Skip to content

M_CommandLine_Text_HelpText_AddOptions__1

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

HelpText.AddOptions(T) Method (ParserResult(T))

Adds a text block with options usage string.

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

Syntax

C#

public HelpText AddOptions<T>(
	ParserResult<T> result
)

VB

Public Function AddOptions(Of T) ( 
	result As ParserResult(Of T)
) As HelpText

C++

public:
generic<typename T>
HelpText^ AddOptions(
	ParserResult<T>^ result
)

F#

member AddOptions : 
        result : ParserResult<'T> -> HelpText 

Parameters

 

result
Type: CommandLine.ParserResult(T)
A parsing computation result.

Type Parameters

 

T

Return Value

Type: HelpText

Exceptions

 

Exception Condition
ArgumentNullException Thrown when parameter result is null.

See Also

Reference

HelpText Class
AddOptions Overload
CommandLine.Text Namespace

Clone this wiki locally