Click or drag to resize

ShellCommandGetShellCommandDescription Method

Gets the description of the specified shell command.

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

Parameters

commandType
Type: SystemType
The Type of the shell command.

Return Value

Type: String
The shell command's description, or if it doesn't specify one.
Exceptions
ExceptionCondition
ArgumentNullExceptioncommandType is .
ArgumentExceptioncommandType is not a shell command type.
Remarks

A shell command's description is specified using the DescriptionAttribute attribute.

See Also