LinkedElementCollection<T>.Sort Method (Int32, Int32, IComparer<T>)
Sorts a range of 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
'Dichiarazione
Public Sub Sort ( _
index As Integer, _
count As Integer, _
comparer As IComparer(Of T) _
)
public void Sort(
int index,
int count,
IComparer<T> comparer
)
public:
void Sort(
int index,
int count,
IComparer<T>^ comparer
)
member Sort :
index:int *
count:int *
comparer:IComparer<'T> -> unit
public function Sort(
index : int,
count : int,
comparer : IComparer<T>
)
Parameters
- index
Type: System.Int32
The zero-based starting index of the range to sort.
- count
Type: System.Int32
The length of the range to sort.
- 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
- 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.