SortVersion.Equals Method
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.
Returns a value that indicates whether two SortVersion instances are equal.
Overloads
Equals(SortVersion) |
Returns a value that indicates whether this SortVersion instance is equal to a specified SortVersion object. |
Equals(Object) |
Returns a value that indicates whether this SortVersion instance is equal to a specified object. |
Equals(SortVersion)
- Source:
- SortVersion.cs
- Source:
- SortVersion.cs
- Source:
- SortVersion.cs
Returns a value that indicates whether this SortVersion instance is equal to a specified SortVersion object.
public:
virtual bool Equals(System::Globalization::SortVersion ^ other);
public bool Equals (System.Globalization.SortVersion? other);
public bool Equals (System.Globalization.SortVersion other);
override this.Equals : System.Globalization.SortVersion -> bool
Public Function Equals (other As SortVersion) As Boolean
Parameters
- other
- SortVersion
The object to compare with this instance.
Returns
true
if other
represents the same version as this instance; otherwise, false
.
Implements
Remarks
Two SortVersion objects are equal if their FullVersion and SortId properties are equal.
See also
Applies to
Equals(Object)
- Source:
- SortVersion.cs
- Source:
- SortVersion.cs
- Source:
- SortVersion.cs
Returns a value that indicates whether this SortVersion instance is equal to a specified object.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object? obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Parameters
- obj
- Object
An object to compare with this instance.
Returns
true
if obj
is a SortVersion object that represents the same version as this instance; otherwise, false
.
Remarks
Two SortVersion objects are equal if their FullVersion and SortId properties are equal.