Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

a0e921d5 23ed 3ba0 ad8b b3ed036c1ce2

haplokuon edited this page May 6, 2023 · 1 revision

Sort(Int32, Int32, IComparer<T>) Method

netDxf 3.0.0 Library

Sorts the elements in a range of elements in System.Collections.Generic.List<T> using the specified comparer.

Definition

Namespace: netDxf.Collections
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public void Sort(
	int index,
	int count,
	IComparer<T> comparer
)

VB

Public Sub Sort ( 
	index As Integer,
	count As Integer,
	comparer As IComparer(Of T)
)

C++

public:
void Sort(
	int index, 
	int count, 
	IComparer<T>^ comparer
)

F#

member Sort : 
        index : int * 
        count : int * 
        comparer : IComparer<'T> -> unit 

Parameters

  Int32
The zero-based starting index of the range to sort.
  Int32
The length of the range to sort.
  IComparer(T)
The System.Collections.Generic.IComparer<T> implementation to use when comparing elements, or null to use the default comparer System.Collections.Generic.Comparer<T>.Default.

See Also

Reference

ObservableCollection(T) Class
Sort Overload
netDxf.Collections Namespace

Clone this wiki locally