Skip to content

M_CommandLine_VerbAttribute__ctor

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

VerbAttribute Constructor

Initializes a new instance of the VerbAttribute class.

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

Syntax

C#

public VerbAttribute(
	string name
)

VB

Public Sub New ( 
	name As String
)

C++

public:
VerbAttribute(
	String^ name
)

F#

new : 
        name : string -> VerbAttribute

Parameters

 

name
Type: System.String
The long name of the verb command.

Exceptions

 

Exception Condition
ArgumentException Thrown if name is null, empty or whitespace.

See Also

Reference

VerbAttribute Class
CommandLine Namespace

Clone this wiki locally