Table of Contents

Operator operator ==

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

operator ==(ServerApiVersion, ServerApiVersion)

Returns true if the two values are equal.

public static bool operator ==(ServerApiVersion lhs, ServerApiVersion rhs)

Parameters

lhs ServerApiVersion

The left hand side.

rhs ServerApiVersion

The right hand side

Returns

bool

True if the two values are equal.