Edit

Share via


SortVersion.Equality(SortVersion, SortVersion) Operator

Definition

Indicates whether two SortVersion instances are equal.

public:
 static bool operator ==(System::Globalization::SortVersion ^ left, System::Globalization::SortVersion ^ right);
public static bool operator == (System.Globalization.SortVersion? left, System.Globalization.SortVersion? right);
public static bool operator == (System.Globalization.SortVersion left, System.Globalization.SortVersion right);
static member ( = ) : System.Globalization.SortVersion * System.Globalization.SortVersion -> bool
Public Shared Operator == (left As SortVersion, right As SortVersion) As Boolean

Parameters

left
SortVersion

The first instance to compare.

right
SortVersion

The second instance to compare.

Returns

true if the values of left and right are equal; otherwise, false.

Remarks

Two SortVersion objects are equal if both are null, or if their FullVersion and SortId properties are equal.

Applies to

See also