Click or drag to resize

BsonDocument Methods

The BsonDocument type exposes the following members.

Methods
 NameDescription
Public methodAdd(KeyValuePairString, BsonValue) 
Public methodAdd(String, BsonValue) 
Public methodClear 
Public methodCompareTo(BsonValue)
(Overrides BsonValueCompareTo(BsonValue))
Public methodCompareTo(BsonValue, Collation)
(Inherited from BsonValue)
Public methodContains 
Public methodContainsKey 
Public methodCopyTo(BsonDocument) 
Public methodCopyTo(KeyValuePairString, BsonValue, Int32) 
Public methodEquals(BsonValue)
(Inherited from BsonValue)
Public methodEquals(Object)
(Inherited from BsonValue)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Protected methodGetBytesCountElement Get how many bytes one single element will used in BSON format
(Inherited from BsonValue)
Public methodGetElements Get all document elements - Return "_id" as first of all (if exists)
Public methodGetEnumerator 
Public methodGetHashCode
(Inherited from BsonValue)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemove(KeyValuePairString, BsonValue) 
Public methodRemove(String) 
Public methodToString
(Inherited from BsonValue)
Public methodTryGetValue 
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also