SortVersion.Inequality 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 not 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 not equal; otherwise, false.

Two SortVersion objects are not equal if one is null and the other is not, or if they have different FullVersion or SortId property values.

.NET Framework
Available since 4.5
Return to top