Uredi

Deli z drugimi prek


SqlGuid.CompareTo Method

Definition

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

Overloads

CompareTo(SqlGuid)

Compares this SqlGuid structure to the supplied SqlGuid and returns an indication of their relative values. Compares more than the last 6 bytes, but treats the last 6 bytes as the most significant ones in comparisons.

CompareTo(Object)

Compares this SqlGuid structure to the supplied object and returns an indication of their relative values. Compares more than the last 6 bytes, but treats the last 6 bytes as the most significant ones in comparisons.

Remarks

Compares more than the last 6 bytes, but treats the last 6 bytes as the most significant ones in comparisons.

CompareTo(SqlGuid)

Source:
SQLGuid.cs
Source:
SQLGuid.cs
Source:
SQLGuid.cs

Compares this SqlGuid structure to the supplied SqlGuid and returns an indication of their relative values. Compares more than the last 6 bytes, but treats the last 6 bytes as the most significant ones in comparisons.

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

Parameters

value
SqlGuid

The SqlGuid 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 object.
Zero This instance is the same as object.
Greater than zero This instance is greater than object

-or-

object is a null reference (Nothing).

See also

Applies to

CompareTo(Object)

Source:
SQLGuid.cs
Source:
SQLGuid.cs
Source:
SQLGuid.cs

Compares this SqlGuid structure to the supplied object and returns an indication of their relative values. Compares more than the last 6 bytes, but treats the last 6 bytes as the most significant ones in comparisons.

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 object.
Zero This instance is the same as object.
Greater than zero This instance is greater than object

-or-

object is a null reference (Nothing)

Implements

See also

Applies to