다음을 통해 공유


IdentityDescriptorComparer.Compare Method

Compares two identity descriptors for equivalence.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

‘선언
Public Function Compare ( _
    x As IdentityDescriptor, _
    y As IdentityDescriptor _
) As Integer
public int Compare(
    IdentityDescriptor x,
    IdentityDescriptor y
)
public:
virtual int Compare(
    IdentityDescriptor^ x, 
    IdentityDescriptor^ y
) sealed
abstract Compare : 
        x:IdentityDescriptor * 
        y:IdentityDescriptor -> int 
override Compare : 
        x:IdentityDescriptor * 
        y:IdentityDescriptor -> int 
public final function Compare(
    x : IdentityDescriptor, 
    y : IdentityDescriptor
) : int

Parameters

Return Value

Type: System.Int32
Returns 0 if the two identity descriptors are equal. Returns nonzero if the identity descriptors are not equal.

Implements

IComparer<T>.Compare(T, T)

Remarks

Performs a string compare on the identity descriptor properties.

.NET Framework Security

See Also

Reference

IdentityDescriptorComparer Class

Microsoft.TeamFoundation.Framework.Client Namespace