CommandCollectionTryGetCommand - метод |
Gets the command with the specified name.
Пространство имён:
Tessa.Platform.CommandLine
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public bool TryGetCommand(
string name,
out Command command
)
Public Function TryGetCommand (
name As String,
<OutAttribute> ByRef command As Command
) As Boolean
public:
bool TryGetCommand(
String^ name,
[OutAttribute] Command^% command
)
member TryGetCommand :
name : string *
command : Command byref -> bool
Параметры
- name
- Тип: SystemString
The key of the value to get. - command
- Тип: Tessa.Platform.CommandLineCommand
When this method returns, contains the command with the specified key, if the key is found; otherwise, null. This parameter is passed uninitialized.
Возвращаемое значение
Тип:
Booleantrue if the
CommandCollection contains an command with the specified name; otherwise, false.
Исключения См. также