Version.Equality(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.
Determines whether two specified Version objects are equal.
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
equals v2
; otherwise, false
.
Remarks
The equivalent method for this operator is Version.Equals(Object)
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.