CommandCollectionTryGetCommand - метод
Gets the command with the specified name.
Пространство имён: Tessa.Platform.CommandLineСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
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 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.
Booleantrue if the
CommandCollection contains an command with the specified name; otherwise, false.
ArgumentNullException | name is null. |