CmdletAttribute(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.