Method TryGetValue
TryGetValue(string, out BsonValue)
Tries to get the value of an element of this document.
public virtual bool TryGetValue(string name, out BsonValue value)
Parameters
Returns
- bool
True if an element with that name was found.
Tries to get the value of an element of this document.
public virtual bool TryGetValue(string name, out BsonValue value)
True if an element with that name was found.