IdentityDescriptorComparer.Equals Method (IdentityDescriptor, IdentityDescriptor)
Checks whether two IdentityDescriptor instances are equal.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function Equals ( _
x As IdentityDescriptor, _
y As IdentityDescriptor _
) As Boolean
public bool Equals(
IdentityDescriptor x,
IdentityDescriptor y
)
public:
virtual bool Equals(
IdentityDescriptor^ x,
IdentityDescriptor^ y
) sealed
abstract Equals :
x:IdentityDescriptor *
y:IdentityDescriptor -> bool
override Equals :
x:IdentityDescriptor *
y:IdentityDescriptor -> bool
public final function Equals(
x : IdentityDescriptor,
y : IdentityDescriptor
) : boolean
Parameters
x
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptorThe first identity descriptor.
y
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptorThe second identity descriptor.
Return Value
Type: System.Boolean
True if the two identity descriptors are equal; otherwise, false.
Implements
IEqualityComparer<T>.Equals(T, T)
.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.