Skip to content

M_CommandLine_Text_HelpText_AddPreOptionsLine

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

HelpText.AddPreOptionsLine Method (String)

Adds a text line after copyright and before options usage strings.

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

Syntax

C#

public HelpText AddPreOptionsLine(
	string value
)

VB

Public Function AddPreOptionsLine ( 
	value As String
) As HelpText

C++

public:
HelpText^ AddPreOptionsLine(
	String^ value
)

F#

member AddPreOptionsLine : 
        value : string -> HelpText 

Parameters

 

value
Type: System.String
A String instance.

Return Value

Type: HelpText
Updated HelpText instance.

Exceptions

 

Exception Condition
ArgumentNullException Thrown when parameter value is null or empty string.

See Also

Reference

HelpText Class
AddPreOptionsLine Overload
CommandLine.Text Namespace

Clone this wiki locally