Breyta

Deila með


SqlInt16.CompareTo Method

Definition

Compares this instance to the supplied object and returns an indication of their relative values.

Overloads

CompareTo(SqlInt16)

Compares this SqlInt16 instance to the supplied SqlInt16 and returns an indication of their relative values.

CompareTo(Object)

Compares this SqlInt16 instance to the supplied Object and returns an indication of their relative values.

CompareTo(SqlInt16)

Source:
SQLInt16.cs
Source:
SQLInt16.cs
Source:
SQLInt16.cs

Compares this SqlInt16 instance to the supplied SqlInt16 and returns an indication of their relative values.

public:
 int CompareTo(System::Data::SqlTypes::SqlInt16 value);
public int CompareTo (System.Data.SqlTypes.SqlInt16 value);
member this.CompareTo : System.Data.SqlTypes.SqlInt16 -> int
Public Function CompareTo (value As SqlInt16) As Integer

Parameters

value
SqlInt16

The SqlInt16 to be compared.

Returns

A signed number that indicates the relative values of the instance and the object.

Return value Condition
Less than zero This instance is less than the object.
Zero This instance is the same as the object.
Greater than zero This instance is greater than the object, or the object is a null reference (Nothing in Visual Basic)

See also

Applies to

CompareTo(Object)

Source:
SQLInt16.cs
Source:
SQLInt16.cs
Source:
SQLInt16.cs

Compares this SqlInt16 instance to the supplied Object and returns an indication of their relative values.

public:
 virtual int CompareTo(System::Object ^ value);
public int CompareTo (object? value);
public int CompareTo (object value);
abstract member CompareTo : obj -> int
override this.CompareTo : obj -> int
Public Function CompareTo (value As Object) As Integer

Parameters

value
Object

The Object to be compared.

Returns

A signed number that indicates the relative values of the instance and the object.

Return value Condition
Less than zero This instance is less than the object.
Zero This instance is the same as the object.
Greater than zero This instance is greater than the object

-or-

object is a null reference (Nothing in Visual Basic)

Implements

See also

Applies to