IList<TValue>.sort(BinaryDelegate<TValue,TValue,Boolean>) Method

Definition

Orders the controlled sequence.

public:
 void sort(Microsoft::VisualC::StlClr::BinaryDelegate<TValue, TValue, bool> ^ _Pred);
public void sort (Microsoft.VisualC.StlClr.BinaryDelegate<TValue,TValue,bool> _Pred);
abstract member sort : Microsoft.VisualC.StlClr.BinaryDelegate<'Value, 'Value, bool> -> unit
Public Sub sort (_Pred As BinaryDelegate(Of TValue, TValue, Boolean))

Parameters

_Pred
BinaryDelegate<TValue,TValue,Boolean>

The operator that will be used to compare elements for ordering.

Remarks

For more information, see list::sort (STL/CLR).

Applies to