Class WriteConcern.WCount

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

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Represents a numeric WValue.

public sealed class WriteConcern.WCount : WriteConcern.WValue, IEquatable<WriteConcern.WValue>, IEquatable<WriteConcern.WCount>

Inheritance

WriteConcern.WCount

Implements

Inherited Members

Constructors

WCount(int)

Initializes a new instance of the WriteConcern.WCount class.

Properties

Value

Gets the value.

Methods

Equals(WCount)

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

Equals(object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

ToBsonValue()

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

ToString()

Returns a string that represents the current object.