Bson |
public class BsonValue : IComparable<BsonValue>, IEquatable<BsonValue>
The BsonValue type exposes the following members.
| Name | Description | |
|---|---|---|
| BsonValue | Initializes a new instance of the BsonValue class | |
| BsonValue(Boolean) | Initializes a new instance of the BsonValue class | |
| BsonValue(Byte) | Initializes a new instance of the BsonValue class | |
| BsonValue(DateTime) | Initializes a new instance of the BsonValue class | |
| BsonValue(Decimal) | Initializes a new instance of the BsonValue class | |
| BsonValue(Double) | Initializes a new instance of the BsonValue class | |
| BsonValue(Guid) | Initializes a new instance of the BsonValue class | |
| BsonValue(Int32) | Initializes a new instance of the BsonValue class | |
| BsonValue(Int64) | Initializes a new instance of the BsonValue class | |
| BsonValue(Object) | Initializes a new instance of the BsonValue class | |
| BsonValue(ObjectId) | Initializes a new instance of the BsonValue class | |
| BsonValue(String) | Initializes a new instance of the BsonValue class | |
| BsonValue(BsonType, Object) | Initializes a new instance of the BsonValue class |
| Name | Description | |
|---|---|---|
| AsArray | ||
| AsBinary | ||
| AsBoolean | ||
| AsDateTime | ||
| AsDecimal | ||
| AsDocument | ||
| AsDouble | ||
| AsGuid | ||
| AsInt32 | ||
| AsInt64 | ||
| AsObjectId | ||
| AsString | ||
| IsArray | ||
| IsBinary | ||
| IsBoolean | ||
| IsDateTime | ||
| IsDecimal | ||
| IsDocument | ||
| IsDouble | ||
| IsGuid | ||
| IsInt32 | ||
| IsInt64 | ||
| IsMaxValue | ||
| IsMinValue | ||
| IsNull | ||
| IsNumber | ||
| IsObjectId | ||
| IsString | ||
| ItemInt32 | Get/Set value in array position. Works only when value are array | |
| ItemString | Get/Set a field for document. Fields are case sensitive - Works only when value are document | |
| RawValue | Get internal .NET value object | |
| Type | Indicate BsonType of this BsonValue |
| Name | Description | |
|---|---|---|
| CompareTo(BsonValue) | ||
| CompareTo(BsonValue, Collation) | ||
| DbRef | Create a new document used in DbRef => { $id: id, $ref: collection } | |
| Equals(BsonValue) | ||
| Equals(Object) | (Overrides ObjectEquals(Object)) | |
| 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 | |
| GetHashCode | (Overrides ObjectGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | (Overrides ObjectToString) |
| Name | Description | |
|---|---|---|
| MaxValue | Represent a MaxValue bson type | |
| MinValue | Represent a MinValue bson type | |
| Null | Represent a Null bson type | |
| UnixEpoch |
| 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) |