Sorts the elements in the collection of element links.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Sub Sort ( _
comparer As IComparer(Of T) _
)
'Usage
Dim instance As LinkedElementCollection
Dim comparer As IComparer(Of T)
instance.Sort(comparer)
public void Sort(
IComparer<T> comparer
)
public:
void Sort(
IComparer<T>^ comparer
)
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 nulla null reference (Nothing in Visual Basic) to use the default comparer System.Collections.Generic.Comparer.Default.
.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.
See Also
Reference
LinkedElementCollection<T> Class