Version.LessThanOrEqual(Version, Version) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static bool operator <=(Version ^ v1, Version ^ v2);
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
Parameters
Returns
true
if v1
is less than or equal to v2
; otherwise, false
.
Exceptions
.NET Framework only: v1
is null
.
Remarks
The equivalent method for this operator is Version.CompareTo(Object)
Applies to
See also
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.