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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Protected Overridable ReadOnly Property Comparer As IComparer
protected virtual IComparer Comparer { get; }
protected:
virtual property IComparer^ Comparer {
    IComparer^ get ();
}
abstract Comparer : IComparer with get 
override Comparer : IComparer with get
function get Comparer () : IComparer

Property Value

Type: 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

Microsoft.VisualStudio.Modeling.Design Namespace