SortVersion.Inequality Operator (SortVersion, SortVersion)

.NET Framework (current version)
 

Indicates whether two SortVersion instances are not equal.

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

public static bool operator !=(
	SortVersion left,
	SortVersion right
)

Parameters

left
Type: System.Globalization.SortVersion

The first instance to compare.

right
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
Show: