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
key
stringThe key of the metadata entry to retrieve.
value
stringWhen this method returns, contains the value associated with the specified key, if found; otherwise, an empty string.
Returns
- bool
true
if the metadata entry was found; otherwise,false
.