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


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

Return Value

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