Table of Contents

Class Tag

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Represents a replica set member tag.

public sealed class Tag : IEquatable<Tag>
Inheritance
Tag
Implements
Inherited Members

Constructors

Tag(string, string)

Initializes a new instance of the Tag class.

Properties

Name

Gets the name.

Value

Gets the value.

Methods

Equals(Tag)

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.