Method TryGetValue
TryGetValue(string, out string)
Attempts to retrieve the value associated with the specified key.
public bool TryGetValue(string key, out string value)
Parameters
keystringThe key of the metadata entry to retrieve.
valuestringWhen this method returns, contains the value associated with the specified key, if found; otherwise, an empty string.
Returns
- bool
trueif the metadata entry was found; otherwise,false.