Table of Contents

Class WriteConcern.WMode

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.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

WMode(string)

Initializes a new instance of the WriteConcern.WMode class.

Properties

Majority

Gets an instance of WValue that represents the majority mode.

Value

Gets the value.

Methods

Equals(WMode)
Equals(object)
GetHashCode()
ToBsonValue()

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

ToString()