SortVersion.Equality Operator (SortVersion, SortVersion)

.NET Framework (current version)

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

Indicates whether two SortVersion instances are equal.

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

Public Shared Operator = (
	left As SortVersion,
	right As SortVersion
) As Boolean


Type: System.Globalization.SortVersion

The first instance to compare.

Type: System.Globalization.SortVersion

The second instance to compare.

Return Value

Type: System.Boolean

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

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

.NET Framework
Available since 4.5
Return to top