Method ToBsonValue NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll ToBsonValue() Converts this WValue to a BsonValue suitable to be included in a BsonDocument representing a write concern. public override BsonValue ToBsonValue() Returns BsonValue A BsonValue.