Click or drag to resize

ShellCommandGetShellCommandName Method

Gets the name of the specified shell command.

Namespace:  Ookii.CommandLine
Assembly:  Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntax
public static string GetShellCommandName(
	Type commandType
)

Parameters

commandType
Type: SystemType
The Type of the shell command.

Return Value

Type: String
The shell command's name.
Exceptions
ExceptionCondition
ArgumentNullExceptioncommandType is .
ArgumentExceptioncommandType is not a shell command type.
Remarks

The shell command's name is determined by the name specified in its ShellCommandAttribute attribute.

See Also