Skip to content

M_CommandLine_Text_HelpText__ctor_5

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

HelpText Constructor (String, String)

Initializes a new instance of the HelpText class specifying heading and copyright strings.

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

Syntax

C#

public HelpText(
	string heading,
	string copyright
)

VB

Public Sub New ( 
	heading As String,
	copyright As String
)

C++

public:
HelpText(
	String^ heading, 
	String^ copyright
)

F#

new : 
        heading : string * 
        copyright : string -> HelpText

Parameters

 

heading
Type: System.String
A string with heading or an instance of HeadingInfo.
copyright
Type: System.String
A string with copyright or an instance of CopyrightInfo.

Exceptions

 

Exception Condition
ArgumentNullException Thrown when one or more parameters are null or empty strings.

See Also

Reference

HelpText Class
HelpText Overload
CommandLine.Text Namespace

Clone this wiki locally