[This is preliminary documentation and is subject to change.]
The BSONElement type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | BSONElement(Stream) | Initializes a new instance of the BSONElement class |
![]() | BSONElement(String) | Initializes a new instance of the BSONElement 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
|
![]() ![]() | GetElementFactory | |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | GetTypeCode | |
![]() | GetValueByteSize |
Returns the size of this element in bytes
|
![]() ![]() | MakeOfType | |
![]() | MarkAsArrayItem | |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ReadValueFromStream |
Override to read element's value from stream
|
![]() | ToBoolean | |
![]() | ToByte | |
![]() | ToChar | |
![]() | ToDateTime | |
![]() | ToDecimal | |
![]() | ToDouble | |
![]() | ToInt16 | |
![]() | ToInt32 | |
![]() | ToInt64 | |
![]() | ToSByte | |
![]() | ToSingle | |
![]() | ToString | (Overrides ![]() |
![]() | ToString(IFormatProvider) | |
![]() | ToType | |
![]() | ToUInt16 | |
![]() | ToUInt32 | |
![]() | ToUInt64 | |
![]() | WriteAsJSON | |
![]() | WriteToStream |
Write element to stream
|
![]() | WriteValueToStream |
Override to write this element into a stream
|
Extension Methods
Properties
Name | Description | |
---|---|---|
![]() | ByteSize |
Recalculates the BSON binary size of this document expressed in bytes
|
![]() | ElementType |
Provides BSON classification of data type
|
![]() | IsArrayElement |
Returns true when this element does not have a name - it is a part of the array
|
![]() | Name |
Return the name of this element. The name is immutable.
Check IaArrayElelemnt first, as this property can not be gotten for array elements
|
![]() | ObjectValue |
Gets/sets the value of this element polymorphically
|
See Also