IBsonWriter Interface |
Namespace: MongoDB.Bson.IO
The IBsonWriter type exposes the following members.
Name | Description | |
---|---|---|
![]() | Close |
Closes the writer.
|
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
![]() | Flush |
Flushes any pending data to the output destination.
|
![]() | PopElementNameValidator |
Pops the element name validator.
|
![]() | PushElementNameValidator |
Pushes the element name validator.
|
![]() | WriteBinaryData |
Writes BSON binary data to the writer.
|
![]() | WriteBoolean |
Writes a BSON Boolean to the writer.
|
![]() | WriteBytes |
Writes BSON binary data to the writer.
|
![]() | WriteDateTime |
Writes a BSON DateTime to the writer.
|
![]() | WriteDecimal128 |
Writes a BSON Decimal128 to the writer.
|
![]() | WriteDouble |
Writes a BSON Double to the writer.
|
![]() | WriteEndArray |
Writes the end of a BSON array to the writer.
|
![]() | WriteEndDocument |
Writes the end of a BSON document to the writer.
|
![]() | WriteInt32 |
Writes a BSON Int32 to the writer.
|
![]() | WriteInt64 |
Writes a BSON Int64 to the writer.
|
![]() | WriteJavaScript |
Writes a BSON JavaScript to the writer.
|
![]() | WriteJavaScriptWithScope |
Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope).
|
![]() | WriteMaxKey |
Writes a BSON MaxKey to the writer.
|
![]() | WriteMinKey |
Writes a BSON MinKey to the writer.
|
![]() | WriteName |
Writes the name of an element to the writer.
|
![]() | WriteNull |
Writes a BSON null to the writer.
|
![]() | WriteObjectId |
Writes a BSON ObjectId to the writer.
|
![]() | WriteRawBsonArray |
Writes a raw BSON array.
|
![]() | WriteRawBsonDocument |
Writes a raw BSON document.
|
![]() | WriteRegularExpression |
Writes a BSON regular expression to the writer.
|
![]() | WriteStartArray |
Writes the start of a BSON array to the writer.
|
![]() | WriteStartDocument |
Writes the start of a BSON document to the writer.
|
![]() | WriteString |
Writes a BSON String to the writer.
|
![]() | WriteSymbol |
Writes a BSON Symbol to the writer.
|
![]() | WriteTimestamp |
Writes a BSON timestamp to the writer.
|
![]() | WriteUndefined |
Writes a BSON undefined to the writer.
|
Name | Description | |
---|---|---|
![]() | WriteBinaryData |
Writes a BSON binary data element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteBoolean |
Writes a BSON Boolean element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteBytes |
Writes a BSON binary data element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteDateTime |
Writes a BSON DateTime element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteDecimal128 |
Writes a BSON Decimal128 element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteDouble |
Writes a BSON Double element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteInt32 |
Writes a BSON Int32 element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteInt64 |
Writes a BSON Int64 element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteJavaScript |
Writes a BSON JavaScript element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteJavaScriptWithScope |
Writes a BSON JavaScript element to the writer (call WriteStartDocument to start writing the scope).
(Defined by IBsonWriterExtensions.) |
![]() | WriteMaxKey |
Writes a BSON MaxKey element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteMinKey |
Writes a BSON MinKey element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteNull |
Writes a BSON null element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteObjectId |
Writes a BSON ObjectId element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteRawBsonArray |
Writes a raw BSON array.
(Defined by IBsonWriterExtensions.) |
![]() | WriteRawBsonDocument |
Writes a raw BSON document.
(Defined by IBsonWriterExtensions.) |
![]() | WriteRegularExpression |
Writes a BSON regular expression element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteStartArray |
Writes the start of a BSON array element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteStartDocument |
Writes the start of a BSON document element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteString |
Writes a BSON String element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteSymbol |
Writes a BSON Symbol element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteTimestamp |
Writes a BSON timestamp element to the writer.
(Defined by IBsonWriterExtensions.) |
![]() | WriteUndefined |
Writes a BSON undefined element to the writer.
(Defined by IBsonWriterExtensions.) |
Name | Description | |
---|---|---|
![]() | SerializationDepth |
Gets the current serialization depth.
|
![]() | Settings |
Gets the settings of the writer.
|
![]() | State |
Gets the current state of the writer.
|