BsonExtensionMethods ClassMongoDB C# Driver API Documentation
A static class containing BSON extension methods.
Inheritance Hierarchy

SystemObject
  MongoDB.BsonBsonExtensionMethods

Namespace: MongoDB.Bson
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: { version: '1.11.0.92', semver: '1.11.0', commit: '791a16588d4a8b3b118a8b3b57cfa436fec5d3da', commitDate: '2015-12-08 22:55:45' }
Syntax

public static class BsonExtensionMethods
Methods

  NameDescription
Public methodStatic memberToBson(Object, Type)
Converts an object to a BSON document byte array.
Public methodStatic memberToBson(Object, Type, BsonBinaryWriterSettings)
Converts an object to a BSON document byte array.
Public methodStatic memberToBson(Object, Type, IBsonSerializationOptions)
Converts an object to a BSON document byte array.
Public methodStatic memberToBson(Object, Type, IBsonSerializationOptions, BsonBinaryWriterSettings)
Converts an object to a BSON document byte array.
Public methodStatic memberToBsonTNominalType(TNominalType)
Converts an object to a BSON document byte array.
Public methodStatic memberToBsonTNominalType(TNominalType, BsonBinaryWriterSettings)
Converts an object to a BSON document byte array.
Public methodStatic memberToBsonTNominalType(TNominalType, IBsonSerializationOptions)
Converts an object to a BSON document byte array.
Public methodStatic memberToBsonTNominalType(TNominalType, IBsonSerializationOptions, BsonBinaryWriterSettings)
Converts an object to a BSON document byte array.
Public methodStatic memberToBsonDocument(Object, Type)
Converts an object to a BsonDocument.
Public methodStatic memberToBsonDocument(Object, Type, IBsonSerializationOptions)
Converts an object to a BsonDocument.
Public methodStatic memberToBsonDocumentTNominalType(TNominalType)
Converts an object to a BsonDocument.
Public methodStatic memberToBsonDocumentTNominalType(TNominalType, IBsonSerializationOptions)
Converts an object to a BsonDocument.
Public methodStatic memberToJson(Object, Type)
Converts an object to a JSON string.
Public methodStatic memberToJson(Object, Type, JsonWriterSettings)
Converts an object to a JSON string.
Public methodStatic memberToJson(Object, Type, IBsonSerializationOptions)
Converts an object to a JSON string.
Public methodStatic memberToJson(Object, Type, IBsonSerializationOptions, JsonWriterSettings)
Converts an object to a JSON string.
Public methodStatic memberToJsonTNominalType(TNominalType)
Converts an object to a JSON string.
Public methodStatic memberToJsonTNominalType(TNominalType, JsonWriterSettings)
Converts an object to a JSON string.
Public methodStatic memberToJsonTNominalType(TNominalType, IBsonSerializationOptions)
Converts an object to a JSON string.
Public methodStatic memberToJsonTNominalType(TNominalType, IBsonSerializationOptions, JsonWriterSettings)
Converts an object to a JSON string.
Top
See Also

Reference