Click or drag to resize

SemanticVersionLessThanOrEqual Operator

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

Namespace:  MongoDB.Driver.Core.Misc
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public static bool operator <=(
	SemanticVersion a,
	SemanticVersion b
)

Parameters

a
Type: MongoDB.Driver.Core.MiscSemanticVersion
The first semantic version to compare, or null.
b
Type: MongoDB.Driver.Core.MiscSemanticVersion
The second semantic version to compare, or null.

Return Value

Type: Boolean
True if the value of a is less than or equal to b; otherwise false.
See Also