Method GetElement
GetElement(int)
Gets an element of this document.
public virtual 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 virtual BsonElement GetElement(string name)
Parameters
name
stringThe name of the element.
Returns
- BsonElement
A BsonElement.