Table of Contents

Class ServerApiVersion

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Represents a server API version.

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

Properties

V1

Gets an instance of server API version 1.

Methods

Equals(ServerApiVersion)

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.

Operators

operator ==(ServerApiVersion, ServerApiVersion)

Returns true if the two values are equal.

operator !=(ServerApiVersion, ServerApiVersion)

Returns true if the two values are not equal.