Delen 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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: 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

Microsoft.VisualStudio.Modeling.Design Namespace