Bson |
public class BsonDocument : BsonValue, IDictionary<string, BsonValue>, ICollection<KeyValuePair<string, BsonValue>>, IEnumerable<KeyValuePair<string, BsonValue>>, IEnumerable
The BsonDocument type exposes the following members.
| Name | Description | |
|---|---|---|
| BsonDocument | Initializes a new instance of the BsonDocument class | |
| BsonDocument(ConcurrentDictionaryString, BsonValue) | Initializes a new instance of the BsonDocument class | |
| BsonDocument(IDictionaryString, BsonValue) | Initializes a new instance of the BsonDocument class |
| Name | Description | |
|---|---|---|
| AsArray | (Inherited from BsonValue) | |
| AsBinary | (Inherited from BsonValue) | |
| AsBoolean | (Inherited from BsonValue) | |
| AsDateTime | (Inherited from BsonValue) | |
| AsDecimal | (Inherited from BsonValue) | |
| AsDocument | (Inherited from BsonValue) | |
| AsDouble | (Inherited from BsonValue) | |
| AsGuid | (Inherited from BsonValue) | |
| AsInt32 | (Inherited from BsonValue) | |
| AsInt64 | (Inherited from BsonValue) | |
| AsObjectId | (Inherited from BsonValue) | |
| AsString | (Inherited from BsonValue) | |
| Count | ||
| IsArray | (Inherited from BsonValue) | |
| IsBinary | (Inherited from BsonValue) | |
| IsBoolean | (Inherited from BsonValue) | |
| IsDateTime | (Inherited from BsonValue) | |
| IsDecimal | (Inherited from BsonValue) | |
| IsDocument | (Inherited from BsonValue) | |
| IsDouble | (Inherited from BsonValue) | |
| IsGuid | (Inherited from BsonValue) | |
| IsInt32 | (Inherited from BsonValue) | |
| IsInt64 | (Inherited from BsonValue) | |
| IsMaxValue | (Inherited from BsonValue) | |
| IsMinValue | (Inherited from BsonValue) | |
| IsNull | (Inherited from BsonValue) | |
| IsNumber | (Inherited from BsonValue) | |
| IsObjectId | (Inherited from BsonValue) | |
| IsReadOnly | ||
| IsString | (Inherited from BsonValue) | |
| ItemInt32 |
Get/Set value in array position. Works only when value are array
(Inherited from BsonValue) | |
| ItemString |
Get/Set a field for document. Fields are case sensitive
(Overrides BsonValueItemString) | |
| Keys | ||
| RawValue | ||
| Type |
Indicate BsonType of this BsonValue
(Inherited from BsonValue) | |
| Values |
| Name | Description | |
|---|---|---|
| Add(KeyValuePairString, BsonValue) | ||
| Add(String, BsonValue) | ||
| Clear | ||
| CompareTo(BsonValue) | (Overrides BsonValueCompareTo(BsonValue)) | |
| CompareTo(BsonValue, Collation) | (Inherited from BsonValue) | |
| Contains | ||
| ContainsKey | ||
| CopyTo(BsonDocument) | ||
| CopyTo(KeyValuePairString, BsonValue, Int32) | ||
| Equals(BsonValue) | (Inherited from BsonValue) | |
| Equals(Object) | (Inherited from BsonValue) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetBytesCountElement |
Get how many bytes one single element will used in BSON format
(Inherited from BsonValue) | |
| GetElements | Get all document elements - Return "_id" as first of all (if exists) | |
| GetEnumerator | ||
| GetHashCode | (Inherited from BsonValue) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Remove(KeyValuePairString, BsonValue) | ||
| Remove(String) | ||
| ToString | (Inherited from BsonValue) | |
| TryGetValue |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |