BsonExtensionMethods Class |
A static class containing BSON extension methods.
Inheritance Hierarchy
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntaxpublic static class BsonExtensionMethods
<ExtensionAttribute>
Public NotInheritable Class BsonExtensionMethods
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type BsonExtensionMethods = class end
Methods
| Name | Description |
---|
  | ToBson(Object, Type, BsonBinaryWriterSettings, IBsonSerializer, ActionBsonSerializationContextBuilder, BsonSerializationArgs, Int32) |
Serializes an object to a BSON byte array.
|
  | ToBsonTNominalType(TNominalType, IBsonSerializerTNominalType, BsonBinaryWriterSettings, ActionBsonSerializationContextBuilder, BsonSerializationArgs, Int32) |
Serializes an object to a BSON byte array.
|
  | ToBsonDocument(Object, Type, IBsonSerializer, ActionBsonSerializationContextBuilder, BsonSerializationArgs) |
Serializes an object to a BsonDocument.
|
  | ToBsonDocumentTNominalType(TNominalType, IBsonSerializerTNominalType, ActionBsonSerializationContextBuilder, BsonSerializationArgs) |
Serializes an object to a BsonDocument.
|
  | ToJson(Object, Type, JsonWriterSettings, IBsonSerializer, ActionBsonSerializationContextBuilder, BsonSerializationArgs) |
Serializes an object to a JSON string.
|
  | ToJsonTNominalType(TNominalType, JsonWriterSettings, IBsonSerializerTNominalType, ActionBsonSerializationContextBuilder, BsonSerializationArgs) |
Serializes an object to a JSON string.
|
Top
See Also