Bridge

UInt16..::..CompareTo Method (UInt16)

Compares this instance to a specified 16-bit unsigned integer and returns an indication of their relative values.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public int CompareTo(
	ushort other
)
<TemplateAttribute> _
Public Function CompareTo ( _
	other As UShort _
) As Integer
[TemplateAttribute]
public:
int^ CompareTo(
	unsigned short^ other
)

Parameters

other
Type: System..::..UInt16

Return Value

A signed number indicating the relative values of this instance and value.Return Value Description Less than zero This instance is less than value. Zero This instance is equal to value. Greater than zero This instance is greater than value.