LinkedElementCollection<T>.Sort Method (Comparison<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

'Declaração
Public Sub Sort ( _
    comparison As Comparison(Of T) _
)
public void Sort(
    Comparison<T> comparison
)
public:
void Sort(
    Comparison<T>^ comparison
)
member Sort : 
        comparison:Comparison<'T> -> unit 
public function Sort(
    comparison : Comparison<T>
)

Parameters

  • comparison
    Type: System.Comparison<T>
    The System.Comparison to use when comparing elements.

.NET Framework Security

See Also

Reference

LinkedElementCollection<T> Class

Sort Overload

Microsoft.VisualStudio.Modeling Namespace