Export (0) Print
Expand All

DataServiceProviderMethods.Compare Method (Guid, Guid)

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

Returns comparison information for GUID parameters in an operation expression.

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

public static int Compare(
	Guid left,
	Guid right
)

Parameters

left
Type: System.Guid
The first parameter value.
right
Type: System.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

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft