Читати англійською Редагувати

Поділитися через


SymbolResolver.TryGetValue(String, Object) Method

Definition

Gets the value associated with the specified key.

C#
public bool TryGetValue(string key, out object value);

Parameters

key
String

The key of the value to get.

value
Object

When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Returns

true if the SymbolResolver contains an element with the specified key; otherwise, false.

Applies to

Продукт Версії
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1