SortVersion.Equality(SortVersion, SortVersion) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.