Version.GreaterThanOrEqual(Version, Version) 操作员

定义

确定指定的第一个 Version 对象是否大于等于指定的第二个 Version 对象。Determines whether the first specified Version object is greater than or equal to the second specified Version object.

public:
 static bool operator >=(Version ^ v1, Version ^ v2);
public static bool operator >= (Version v1, Version v2);
static member ( >= ) : Version * Version -> bool
Public Shared Operator >= (v1 As Version, v2 As Version) As Boolean

参数

v1
Version

第一个 Version 对象。The first Version object.

v2
Version

第二个 Version 对象。The second Version object.

返回

如果 v1 大于等于 v2,则为 true;否则为 falsetrue if v1 is greater than or equal to v2; otherwise, false.

注解

此运算符的等效方法是 Version.CompareTo(Object)The equivalent method for this operator is Version.CompareTo(Object)

适用于

另请参阅