Uredi

Deli z drugimi prek


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>

The comparison to use.

Returns

The new comparer.

Applies to