SortVersion::Equals Method (Object^)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a value that indicates whether this SortVersion instance is equal to a specified object.

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual bool Equals(
	Object^ obj
) override

Parameters

obj
Type: System::Object^

An object to compare with this instance.

Return Value

Type: System::Boolean

true if obj is a SortVersion object that represents the same version as this instance; otherwise, false.

Two SortVersion objects are equal if their FullVersion and SortId properties are equal.

.NET Framework
Available since 4.5
Return to top
Show: