Table of Contents

Class ClusterId

Namespace
MongoDB.Driver.Core.Clusters
Assembly
MongoDB.Driver.Core.dll

Represents a cluster identifier.

[Serializable]
public sealed class ClusterId : IEquatable<ClusterId>
Inheritance
ClusterId
Implements
Inherited Members

Constructors

ClusterId()

Initializes a new instance of the ClusterId class.

public ClusterId()

ClusterId(int)

Initializes a new instance of the ClusterId class.

public ClusterId(int value)

Parameters

value int

The value.

Properties

Value

Gets the value.

public int Value { get; }

Property Value

int

The value.

Methods

Equals(ClusterId)

public bool Equals(ClusterId other)

Parameters

other ClusterId

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string