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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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