Click or drag to resize

MFUtilsIsAtleast Method

Return true if this version is at least the given separate version number.

Namespace:  MFiles.VAF.Common
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public static bool IsAtleast(
	this MFilesVersion version,
	int major,
	int minor = -1,
	int build = -1,
	int patch = -1
)

Parameters

version
Type: MFilesVersion
Version to check and compare.
major
Type: SystemInt32
Major version, >= comparison.
minor (Optional)
Type: SystemInt32
Minor version, >= comparison.
build (Optional)
Type: SystemInt32
Build version, >= comparison.
patch (Optional)
Type: SystemInt32
Patch version, >= comparison.

Return Value

Type: Boolean
The version is at least the given numbers version.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MFilesVersion. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also