Share via


ModelingEnumerationConverter.Comparer Property

Gets an IComparer object that can order the values of the enumeration.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Protected Overridable ReadOnly Property Comparer As IComparer
'Usage
Dim value As IComparer 

value = Me.Comparer
protected virtual IComparer Comparer { get; }
protected:
virtual property IComparer^ Comparer {
    IComparer^ get ();
}
protected function get Comparer () : IComparer

Property Value

Type: System.Collections.IComparer
An IComparer object that can order the values of the enumeration.

Remarks

By default, this method returns Comparer.Default.

Notes to Inheritors:

Override this property to provide a different sort order.

.NET Framework Security

See Also

Reference

ModelingEnumerationConverter Class

ModelingEnumerationConverter Members

Microsoft.VisualStudio.Modeling.Design Namespace

Change History

Date

History

Reason

July 2008

Added topic.

Content bug fix.