CmdletAttribute(String, String) Constructor

Definition

Initializes a new instance of the CmdletAttribute class.

public:
 CmdletAttribute(System::String ^ verbName, System::String ^ nounName);
public:
 CmdletAttribute(Platform::String ^ verbName, Platform::String ^ nounName);
 CmdletAttribute(std::wstring const & verbName, std::wstring const & nounName);
public CmdletAttribute (string verbName, string nounName);
new System.Management.Automation.CmdletAttribute : string * string -> System.Management.Automation.CmdletAttribute
Public Sub New (verbName As String, nounName As String)

Parameters

verbName
String

Verb for the command.

nounName
String

Noun for the command.

Exceptions

For invalid arguments.

Applies to