Method GetElement
GetElement(int)
Gets an element of this document.
public override BsonElement GetElement(int index)
Parameters
index
intThe zero based index of the element.
Returns
- BsonElement
The element.
GetElement(string)
Gets an element of this document.
public override BsonElement GetElement(string name)
Parameters
name
stringThe name of the element.
Returns
- BsonElement
A BsonElement.