CommandInfoIsCommand Method
Returns a value indicating if the specified type is a subcommand.
Namespace: Ookii.CommandLine.CommandsAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
public static bool IsCommand(
Type commandType
)
Public Shared Function IsCommand (
commandType As Type
) As Boolean
Dim commandType As Type
Dim returnValue As Boolean
returnValue = CommandInfo.IsCommand(commandType)
public:
static bool IsCommand(
Type^ commandType
)
- commandType Type
- The type that implements the subcommand.
Boolean if the type implements the
ICommand interface, has the
CommandAttribute attribute applied, and is not
;
otherwise,
.