[This is preliminary documentation and is subject to change.]

Compares this value to the specified value

Namespace: Clarion.Framework.Core
Assembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)

Syntax

C#
public int CompareTo(
	V val
)

Parameters

val
Type: Clarion.Framework.Core..::..V
The value to be compared

Return Value

Greater than 0 = This value is greater than the specified value; 0 = The values are equal; Less than 0 = This value is less than the specified value

Implements

IComparable<(Of <(<'T>)>)>..::..CompareTo(T)

Remarks

This method has been implemented with the following considerations:
  • If both (inner) values are of the same type, then the default comparison will be made for that type
  • If the (inner) values are of different types, then the string representation of the values will be compared

See Also