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.3.623.2
public static bool IsAtleast(
	this MFilesVersion version,
	int major,
	int minor = -1,
	int build = -1,
	int patch = -1


Type: MFilesVersion
Version to check and compare.
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