Skip to content

M_CommandLine_Text_HelpText_AddVerbs_1

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

HelpText.AddVerbs Method (Type[])

Adds a text block with verbs usage string.

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

Syntax

C#

public HelpText AddVerbs(
	params Type[] types
)

VB

Public Function AddVerbs ( 
	ParamArray types As Type()
) As HelpText

C++

public:
HelpText^ AddVerbs(
	... array<Type^>^ types
)

F#

member AddVerbs : 
        types : Type[] -> HelpText 

Parameters

 

types
Type: System.Type[]
The array of Type with verb commands.

Return Value

Type: HelpText

Exceptions

 

Exception Condition
ArgumentNullException Thrown when parameter types is null.
ArgumentOutOfRangeException Thrown if types array is empty.

See Also

Reference

HelpText Class
AddVerbs Overload
CommandLine.Text Namespace

Clone this wiki locally