CommandInfoTryCreate Method
            Creates an instance of the 
CommandInfo structure only if 
commandType
            represents a command type.
            
Namespace: Ookii.CommandLine.CommandsAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 3.0.0
public static CommandInfo? TryCreate(
	Type commandType,
	CommandManager manager
)
Public Shared Function TryCreate ( 
	commandType As Type,
	manager As CommandManager
) As CommandInfo?
Dim commandType As Type
Dim manager As CommandManager
Dim returnValue As CommandInfo?
returnValue = CommandInfo.TryCreate(commandType, 
	manager)
public:
static Nullable<CommandInfo> TryCreate(
	Type^ commandType, 
	CommandManager^ manager
)
- commandType  Type
 - The type that implements the subcommand.
 - manager  CommandManager
 - 
              The CommandManager that is managing this command.
            
 
NullableCommandInfo
              A 
CommandInfo structure with information about the command, or
              
 if 
commandType was not a command.