共用方式為


AttributeDescriptorComparer Class

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.Profile.AttributeDescriptorComparer

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

Syntax

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

The AttributeDescriptorComparer 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(AttributeDescriptor, AttributeDescriptor)
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(AttributeDescriptor)
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.Profile Namespace