Method ToBsonValue

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

ToBsonValue()

Converts this WValue to a BsonValue suitable to be included in a BsonDocument representing a write concern.

public abstract BsonValue ToBsonValue()

Returns

BsonValue

A BsonValue.