MemoryExtensions.Min Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| Min<T>(ReadOnlySpan<T>) | |
| Min<T>(ReadOnlySpan<T>, IComparer<T>) |
Min<T>(ReadOnlySpan<T>)
- Source:
- MemoryExtensions.MinMax.cs
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T Min(ReadOnlySpan<T> span);
public static T? Min<T>(this ReadOnlySpan<T> span);
static member Min : ReadOnlySpan<'T> -> 'T
<Extension()>
Public Function Min(Of T) (span As ReadOnlySpan(Of T)) As T
Paramètres de type
- T
Paramètres
- span
- ReadOnlySpan<T>
Retours
S’applique à
Min<T>(ReadOnlySpan<T>, IComparer<T>)
- Source:
- MemoryExtensions.MinMax.cs
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T Min(ReadOnlySpan<T> span, System::Collections::Generic::IComparer<T> ^ comparer);
public static T? Min<T>(this ReadOnlySpan<T> span, System.Collections.Generic.IComparer<T>? comparer);
static member Min : ReadOnlySpan<'T> * System.Collections.Generic.IComparer<'T> -> 'T
<Extension()>
Public Function Min(Of T) (span As ReadOnlySpan(Of T), comparer As IComparer(Of T)) As T
Paramètres de type
- T
Paramètres
- span
- ReadOnlySpan<T>
- comparer
- IComparer<T>