Class WriteConcern.WValue

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

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Represents the base class for w values.

public abstract class WriteConcern.WValue : IEquatable<WriteConcern.WValue>

Inheritance

WriteConcern.WValue

Implements

Derived

Inherited Members

Methods

Equals(WValue)

Indicates whether the current object is equal to another object of the same type.

Parse(string)

Parses the specified value.

ToBsonValue()

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

Operators

implicit operator WValue(int)

Performs an implicit conversion from int to WriteConcern.WValue.

implicit operator WValue(int?)

Performs an implicit conversion from Nullable{Int32} to WriteConcern.WValue.

implicit operator WValue(string)

Performs an implicit conversion from string to WriteConcern.WValue.