BsonDocumentGetEnumerator Method |
Gets an enumerator that can be used to enumerate the elements of this document.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax public virtual IEnumerator<BsonElement> GetEnumerator()
Public Overridable Function GetEnumerator As IEnumerator(Of BsonElement)
abstract GetEnumerator : unit -> IEnumerator<BsonElement>
override GetEnumerator : unit -> IEnumerator<BsonElement>
Return Value
Type:
IEnumeratorBsonElementAn enumerator.
Implements
IEnumerableTGetEnumeratorSee Also