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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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,
.