DataServiceProviderMethods.Compare Method (Nullable<Guid>, Nullable<Guid>)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns comparison information for nullable GUID parameters in an operation expression.

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

public static int Compare(
	Nullable<Guid> left,
	Nullable<Guid> right
)

Parameters

left
Type: System.Nullable<Guid>

The first parameter value.

right
Type: System.Nullable<Guid>

The second parameter value.

Return Value

Type: System.Int32

Value

Condition

-1

left is less than right.

0

x equals y.

1

left is greater than right.

The comparison is performed by byte order.

.NET Framework
Available since 3.5
Return to top
Show: