Comparer<T>.Create(Comparison<T>) Comparer<T>.Create(Comparison<T>) Comparer<T>.Create(Comparison<T>) Comparer<T>.Create(Comparison<T>) Method

Definition

Creates a comparer by using the specified comparison.

public:
 static System::Collections::Generic::Comparer<T> ^ Create(Comparison<T> ^ comparison);
public static System.Collections.Generic.Comparer<T> Create (Comparison<T> comparison);
static member Create : Comparison<'T> -> System.Collections.Generic.Comparer<'T>
Public Shared Function Create (comparison As Comparison(Of T)) As Comparer(Of T)
Parameters
comparison
Comparison<T> Comparison<T> Comparison<T> Comparison<T>

The comparison to use.

Returns

Applies to