ShellCommandGetShellCommand Method (Assembly, String) |
Gets the shell command with the specified command name, using a case-insensitive string comparison for the command names.
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntaxpublic static Type GetShellCommand(
Assembly assembly,
string commandName
)
Public Shared Function GetShellCommand (
assembly As Assembly,
commandName As String
) As Type
Dim assembly As [Assembly]
Dim commandName As String
Dim returnValue As Type
returnValue = ShellCommand.GetShellCommand(assembly,
commandName)
public:
static Type^ GetShellCommand(
Assembly^ assembly,
String^ commandName
)
Parameters
- assembly
- Type: System.ReflectionAssembly
The assembly whose types to search. - commandName
- Type: SystemString
The command name of the shell command.
Return Value
Type:
TypeThe
Type of the specified shell command, or
if none could be found.
Exceptions
Remarks
See Also