Method TryGetElement
TryGetElement(string, out BsonElement)
Tries to get an element of this document.
public override bool TryGetElement(string name, out BsonElement element)
Parameters
name
stringThe name of the element.
element
BsonElementThe element.
Returns
- bool
True if an element with that name was found.