Class ClusterId

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

Namespace

MongoDB.Driver.Core.Clusters

Assembly

MongoDB.Driver.dll

Represents a cluster identifier.

public sealed class ClusterId : IEquatable<ClusterId>

Inheritance

ClusterId

Implements

Inherited Members

Constructors

ClusterId()

Initializes a new instance of the ClusterId class.

ClusterId(int)

Initializes a new instance of the ClusterId class.

Properties

Value

Gets the value.

Methods

Equals(ClusterId)

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.

ToString()

Returns a string that represents the current object.