Freigeben über


DataServiceProviderMethods.Compare-Methode (Nullable<Guid>, Nullable<Guid>)

Diese API unterstützt die -Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Gibt Vergleichsinformationen für GUID-Parameter, die NULL-Werte zulassen, in einem Vorgangsausdruck zurück.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Shared Function Compare ( _
    left As Nullable(Of Guid), _
    right As Nullable(Of Guid) _
) As Integer
'Usage
Dim left As Nullable(Of Guid)
Dim right As Nullable(Of Guid)
Dim returnValue As Integer

returnValue = DataServiceProviderMethods.Compare(left, _
    right)
public static int Compare(
    Nullable<Guid> left,
    Nullable<Guid> right
)
public:
static int Compare(
    Nullable<Guid> left, 
    Nullable<Guid> right
)
static member Compare : 
        left:Nullable<Guid> * 
        right:Nullable<Guid> -> int 
public static function Compare(
    left : Nullable<Guid>, 
    right : Nullable<Guid>
) : int

Parameter

Rückgabewert

Typ: System.Int32

Wert

Bedingung

-1

left ist kleiner als right.

0

x = y.

1

left ist größer als right.

Hinweise

Der Vergleich erfolgt in der Byte-Reihenfolge.

Siehe auch

Verweis

DataServiceProviderMethods Klasse

Compare-Überladung

System.Data.Services.Providers-Namespace