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
- x
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
The first identity descriptor.
- y
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
The second identity descriptor.
Return Value
Type: System.Int32
Returns 0 if the two identity descriptors are equal. Returns nonzero if the identity descriptors are not equal.
Implements
Remarks
Performs a string compare on the identity descriptor properties.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.