Class WriteConcern.WMode
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Represents a mode string WValue.
public sealed class WriteConcern.WMode : WriteConcern.WValue, IEquatable<WriteConcern.WValue>, IEquatable<WriteConcern.WMode>
Inheritance
WriteConcern.WMode
Implements
Inherited Members
Constructors
Initializes a new instance of the WriteConcern.WMode class.
Properties
Gets an instance of WValue that represents the majority mode.
Gets the value.
Methods
Indicates whether the current object is equal to another object of the same type.
Determines whether the specified object is equal to the current object.
Serves as the default hash function.
Converts this WValue to a BsonValue suitable to be included in a BsonDocument representing a write concern.
Returns a string that represents the current object.