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
'Déclaration
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.