共用方式為


IdentityDescriptorComparer Class

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.Identity.IdentityDescriptorComparer

Namespace:  Microsoft.VisualStudio.Services.Identity
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Class IdentityDescriptorComparer _
    Implements IComparer(Of IdentityDescriptor), IEqualityComparer(Of IdentityDescriptor)
public class IdentityDescriptorComparer : IComparer<IdentityDescriptor>, 
    IEqualityComparer<IdentityDescriptor>
public ref class IdentityDescriptorComparer : IComparer<IdentityDescriptor^>, 
    IEqualityComparer<IdentityDescriptor^>
type IdentityDescriptorComparer =  
    class 
        interface IComparer<IdentityDescriptor>
        interface IEqualityComparer<IdentityDescriptor>
    end
public class IdentityDescriptorComparer implements IComparer<IdentityDescriptor>, IEqualityComparer<IdentityDescriptor>

The IdentityDescriptorComparer type exposes the following members.

Properties

  Name Description
Public propertyStatic member Instance

Top

Methods

  Name Description
Public method Compare
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Equals(IdentityDescriptor, IdentityDescriptor)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode() Serves as the default hash function. (Inherited from Object.)
Public method GetHashCode(IdentityDescriptor)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Services.Identity Namespace