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
Syntaxpublic static bool IsAtleast(
this MFilesVersion version,
int major,
int minor = -1,
int build = -1,
int patch = -1
)
<ExtensionAttribute>
Public Shared Function IsAtleast (
version As MFilesVersion,
major As Integer,
Optional minor As Integer = -1,
Optional build As Integer = -1,
Optional patch As Integer = -1
) As Boolean
public:
[ExtensionAttribute]
static bool IsAtleast(
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:
BooleanThe 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