Table of Contents

Operator operator <=

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

operator <=(SemanticVersion, SemanticVersion)

Determines whether the first specified SemanticVersion is less than or equal to the second specified SemanticVersion.

public static bool operator <=(SemanticVersion a, SemanticVersion b)

Parameters

a SemanticVersion

The first semantic version to compare, or null.

b SemanticVersion

The second semantic version to compare, or null.

Returns

bool

True if the value of a is less than or equal to b; otherwise false.