CommandCollectionTryGetCommand - метод

Gets the command with the specified name.

Definition

Пространство имён: Tessa.Platform.CommandLine
Сборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
public bool TryGetCommand(
	string name,
	out Command command
)

Параметры

name  String
The key of the value to get.
command  Command
When this method returns, contains the command with the specified key, if the key is found; otherwise, null. This parameter is passed uninitialized.

Возвращаемое значение

Boolean
true if the CommandCollection contains an command with the specified name; otherwise, false.

Исключения

См. также