Method TryGet
TryGet(string, out Metadata)
Attempts to retrieve the metadata entry with the specified key.
public bool TryGet(string key, out Metadata metadata)
Parameters
key
stringThe key of the metadata entry to retrieve.
metadata
MetadataWhen this method returns, contains the metadata entry associated with the specified key, if found; otherwise, null.
Returns
- bool
True if the metadata entry was found; otherwise, false.