MemoryExtensions.IndexOfAnyExceptInRange Método

Definição

Sobrecargas

Name Description
IndexOfAnyExceptInRange<T>(ReadOnlySpan<T>, T, T)

Pesquisas pelo primeiro índice de qualquer valor fora do intervalo entre lowInclusive e highInclusive, inclusive.

IndexOfAnyExceptInRange<T>(Span<T>, T, T)

Pesquisas pelo primeiro índice de qualquer valor fora do intervalo entre lowInclusive e highInclusive, inclusive.

IndexOfAnyExceptInRange<T>(ReadOnlySpan<T>, T, T)

Origem:
MemoryExtensions.cs
Origem:
MemoryExtensions.cs
Origem:
MemoryExtensions.cs
Origem:
MemoryExtensions.cs

Pesquisas pelo primeiro í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 IndexOfAnyExceptInRange(ReadOnlySpan<T> span, T lowInclusive, T highInclusive);
public static int IndexOfAnyExceptInRange<T>(this ReadOnlySpan<T> span, T lowInclusive, T highInclusive) where T : IComparable<T>;
static member IndexOfAnyExceptInRange : ReadOnlySpan<'T (requires 'T :> IComparable<'T>)> * 'T * 'T -> int (requires 'T :> IComparable<'T>)
<Extension()>
Public Function IndexOfAnyExceptInRange(Of T As IComparable(Of T)) (span As ReadOnlySpan(Of T), lowInclusive As T, highInclusive As T) As Integer

Parâmetros de Tipo Genérico

T

O tipo de extensão e os valores.

Parâmetros

span
ReadOnlySpan<T>

O tempo para procurar.

lowInclusive
T

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

highInclusive
T

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

Devoluções

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

Aplica-se a

IndexOfAnyExceptInRange<T>(Span<T>, T, T)

Origem:
MemoryExtensions.cs
Origem:
MemoryExtensions.cs
Origem:
MemoryExtensions.cs
Origem:
MemoryExtensions.cs

Pesquisas pelo primeiro í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 IndexOfAnyExceptInRange(Span<T> span, T lowInclusive, T highInclusive);
[System.Runtime.CompilerServices.OverloadResolutionPriority(-1)]
public static int IndexOfAnyExceptInRange<T>(this Span<T> span, T lowInclusive, T highInclusive) where T : IComparable<T>;
public static int IndexOfAnyExceptInRange<T>(this Span<T> span, T lowInclusive, T highInclusive) where T : IComparable<T>;
[<System.Runtime.CompilerServices.OverloadResolutionPriority(-1)>]
static member IndexOfAnyExceptInRange : Span<'T (requires 'T :> IComparable<'T>)> * 'T * 'T -> int (requires 'T :> IComparable<'T>)
static member IndexOfAnyExceptInRange : Span<'T (requires 'T :> IComparable<'T>)> * 'T * 'T -> int (requires 'T :> IComparable<'T>)
<Extension()>
Public Function IndexOfAnyExceptInRange(Of T As IComparable(Of T)) (span As Span(Of T), lowInclusive As T, highInclusive As T) As Integer

Parâmetros de Tipo Genérico

T

O tipo de extensão e os valores.

Parâmetros

span
Span<T>

O tempo para procurar.

lowInclusive
T

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

highInclusive
T

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

Devoluções

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

Atributos

Aplica-se a