[This is preliminary documentation and is subject to change.]
The BSONElement T type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| BSONElement T (Stream) | Initializes a new instance of the BSONElement T class | |
| BSONElement T (String, T) | Initializes a new instance of the BSONElement T class |
Methods
| Name | Description | |
|---|---|---|
Determines whether the specified object is equal to the current object. (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
| GetByteSize |
Returns the BSON binary size of this element expressed in bytes
(Inherited from BSONElement.) | |
Serves as the default hash function. (Inherited from | ||
Gets the (Inherited from | ||
| GetTypeCode | (Inherited from BSONElement.) | |
| GetValueByteSize |
Returns the size of this element in bytes
(Inherited from BSONElement.) | |
| MarkAsArrayItem | (Inherited from BSONElement.) | |
Creates a shallow copy of the current (Inherited from | ||
| ReadValueFromStream |
Override to read element's value from stream
(Inherited from BSONElement.) | |
| ToBoolean | (Inherited from BSONElement.) | |
| ToByte | (Inherited from BSONElement.) | |
| ToChar | (Inherited from BSONElement.) | |
| ToDateTime | (Inherited from BSONElement.) | |
| ToDecimal | (Inherited from BSONElement.) | |
| ToDouble | (Inherited from BSONElement.) | |
| ToInt16 | (Inherited from BSONElement.) | |
| ToInt32 | (Inherited from BSONElement.) | |
| ToInt64 | (Inherited from BSONElement.) | |
| ToSByte | (Inherited from BSONElement.) | |
| ToSingle | (Inherited from BSONElement.) | |
| ToString | (Overrides BSONElement ToString .) | |
| ToString(IFormatProvider) | (Inherited from BSONElement.) | |
| ToType | (Inherited from BSONElement.) | |
| ToUInt16 | (Inherited from BSONElement.) | |
| ToUInt32 | (Inherited from BSONElement.) | |
| ToUInt64 | (Inherited from BSONElement.) | |
| WriteAsJSON | (Inherited from BSONElement.) | |
| WriteToStream |
Write element to stream
(Inherited from BSONElement.) | |
| WriteValueToStream |
Override to write this element into a stream
(Inherited from BSONElement.) |
Extension Methods
Fields
| Name | Description | |
|---|---|---|
| m_Value |
Properties
| Name | Description | |
|---|---|---|
| ByteSize |
Recalculates the BSON binary size of this document expressed in bytes
(Inherited from BSONElement.) | |
| ElementType |
Provides BSON classification of data type
(Inherited from BSONElement.) | |
| IsArrayElement |
Returns true when this element does not have a name - it is a part of the array
(Inherited from BSONElement.) | |
| Name |
Return the name of this element. The name is immutable.
Check IaArrayElelemnt first, as this property can not be gotten for array elements
(Inherited from BSONElement.) | |
| ObjectValue |
Gets/sets value as object. In normal cases use typed Value to get/set instead
(Overrides BSONElement ObjectValue.) | |
| Value |
See Also