LinkedElementCollection<T>.Sort Method (IComparer<T>)

Sorts the elements in the collection of element links.

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

Syntax

声明
Public Sub Sort ( _
    comparer As IComparer(Of T) _
)
public void Sort(
    IComparer<T> comparer
)
public:
void Sort(
    IComparer<T>^ comparer
)
member Sort : 
        comparer:IComparer<'T> -> unit 
public function Sort(
    comparer : IComparer<T>
)

Parameters

  • comparer
    Type: System.Collections.Generic.IComparer<T>
    The System.Collections.Generic.IComparer implementation to use when comparing elements; or null to use the default comparer System.Collections.Generic.Comparer.Default.

.NET Framework Security

See Also

Reference

LinkedElementCollection<T> Class

Sort Overload

Microsoft.VisualStudio.Modeling Namespace