MemoryExtensions.LastIndexOfAnyExceptInRange Método

Definición

Sobrecargas

LastIndexOfAnyExceptInRange<T>(Span<T>, T, T)

Busca el último índice de cualquier valor fuera del intervalo entre lowInclusive y highInclusive, ambos incluidos.

LastIndexOfAnyExceptInRange<T>(ReadOnlySpan<T>, T, T)

Busca el último índice de cualquier valor fuera del intervalo entre lowInclusive y highInclusive, ambos incluidos.

LastIndexOfAnyExceptInRange<T>(Span<T>, T, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Busca el último índice de cualquier valor fuera del intervalo entre lowInclusive y highInclusive, ambos incluidos.

public:
generic <typename T>
 where T : IComparable<T>[System::Runtime::CompilerServices::Extension]
 static int LastIndexOfAnyExceptInRange(Span<T> span, T lowInclusive, T highInclusive);
public static int LastIndexOfAnyExceptInRange<T> (this Span<T> span, T lowInclusive, T highInclusive) where T : IComparable<T>;
static member LastIndexOfAnyExceptInRange : Span<'T (requires 'T :> IComparable<'T>)> * 'T * 'T -> int (requires 'T :> IComparable<'T>)
<Extension()>
Public Function LastIndexOfAnyExceptInRange(Of T As IComparable(Of T)) (span As Span(Of T), lowInclusive As T, highInclusive As T) As Integer

Parámetros de tipo

T

Tipo del intervalo y los valores.

Parámetros

span
Span<T>

Intervalo que se va a buscar.

lowInclusive
T

Límite inferior, inclusivo, del intervalo excluido.

highInclusive
T

Límite superior, inclusivo, del intervalo excluido.

Devoluciones

Índice en el intervalo de la última aparición de cualquier valor fuera del intervalo especificado. Si todos los valores están dentro del intervalo especificado, devuelve -1.

Se aplica a

LastIndexOfAnyExceptInRange<T>(ReadOnlySpan<T>, T, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Busca el último índice de cualquier valor fuera del intervalo entre lowInclusive y highInclusive, ambos incluidos.

public:
generic <typename T>
 where T : IComparable<T>[System::Runtime::CompilerServices::Extension]
 static int LastIndexOfAnyExceptInRange(ReadOnlySpan<T> span, T lowInclusive, T highInclusive);
public static int LastIndexOfAnyExceptInRange<T> (this ReadOnlySpan<T> span, T lowInclusive, T highInclusive) where T : IComparable<T>;
static member LastIndexOfAnyExceptInRange : ReadOnlySpan<'T (requires 'T :> IComparable<'T>)> * 'T * 'T -> int (requires 'T :> IComparable<'T>)
<Extension()>
Public Function LastIndexOfAnyExceptInRange(Of T As IComparable(Of T)) (span As ReadOnlySpan(Of T), lowInclusive As T, highInclusive As T) As Integer

Parámetros de tipo

T

Tipo del intervalo y los valores.

Parámetros

span
ReadOnlySpan<T>

Intervalo que se va a buscar.

lowInclusive
T

Límite inferior, inclusivo, del intervalo excluido.

highInclusive
T

Límite superior, inclusivo, del intervalo excluido.

Devoluciones

Índice en el intervalo de la última aparición de cualquier valor fuera del intervalo especificado. Si todos los valores están dentro del intervalo especificado, devuelve -1.

Se aplica a