MemoryExtensions.IndexOfAnyExceptInRange Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Name | Description |
|---|---|
| IndexOfAnyExceptInRange<T>(ReadOnlySpan<T>, T, T) |
Pesquisas pelo primeiro índice de qualquer valor fora do intervalo entre |
| IndexOfAnyExceptInRange<T>(Span<T>, T, T) |
Pesquisas pelo primeiro índice de qualquer valor fora do intervalo entre |
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