MemoryExtensions.LastIndexOfAnyExceptInRange Método

Definição

Sobrecargas

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

Pesquisa o último índice de qualquer valor fora do intervalo entre lowInclusive e highInclusive, inclusive.

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

Pesquisa o último índice de qualquer valor fora do intervalo entre lowInclusive e highInclusive, inclusive.

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

Origem:
MemoryExtensions.cs
Origem:
MemoryExtensions.cs

Pesquisa o último índice de qualquer valor fora do intervalo entre lowInclusive e highInclusive, inclusive.

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

O tipo do intervalo e dos valores.

Parâmetros

span
Span<T>

O intervalo a ser pesquisado.

lowInclusive
T

O limite inferior, inclusive, do intervalo excluído.

highInclusive
T

O limite superior, inclusivo, do intervalo excluído.

Retornos

O índice no intervalo da última ocorrência de qualquer valor fora do intervalo especificado. Se todos os valores estiverem dentro do intervalo especificado, retornará -1.

Aplica-se a

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

Origem:
MemoryExtensions.cs
Origem:
MemoryExtensions.cs

Pesquisa o último índice de qualquer valor fora do intervalo entre lowInclusive e highInclusive, inclusive.

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

O tipo do intervalo e dos valores.

Parâmetros

span
ReadOnlySpan<T>

O intervalo a ser pesquisado.

lowInclusive
T

O limite inferior, inclusive, do intervalo excluído.

highInclusive
T

O limite superior, inclusivo, do intervalo excluído.

Retornos

O índice no intervalo da última ocorrência de qualquer valor fora do intervalo especificado. Se todos os valores estiverem dentro do intervalo especificado, retornará -1.

Aplica-se a