Edit

Share via


Version.Inequality(Version, Version) Operator

Definition

Determines whether two specified Version objects are not 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 op_Inequality : Version * Version -> bool
Public Shared Operator != (v1 As Version, v2 As Version) As Boolean

Parameters

v1
Version

The first Version object.

v2
Version

The second Version object.

Returns

true if v1 does not equal v2; otherwise, false.

Remarks

The equivalent method for this operator is Version.Equals(Object)

Applies to

See also