MemoryExtensions.ContainsAnyInRange 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 |
|---|---|
| ContainsAnyInRange<T>(ReadOnlySpan<T>, T, T) |
Procura qualquer valor no intervalo entre |
| ContainsAnyInRange<T>(Span<T>, T, T) |
Procura qualquer valor no intervalo entre |
ContainsAnyInRange<T>(ReadOnlySpan<T>, T, T)
- Origem:
- MemoryExtensions.cs
- Origem:
- MemoryExtensions.cs
- Origem:
- MemoryExtensions.cs
- Origem:
- MemoryExtensions.cs
Procura qualquer valor no intervalo entre lowInclusive e highInclusive, inclusive.
public:
generic <typename T>
where T : IComparable<T>[System::Runtime::CompilerServices::Extension]
static bool ContainsAnyInRange(ReadOnlySpan<T> span, T lowInclusive, T highInclusive);
public static bool ContainsAnyInRange<T>(this ReadOnlySpan<T> span, T lowInclusive, T highInclusive) where T : IComparable<T>;
static member ContainsAnyInRange : ReadOnlySpan<'T (requires 'T :> IComparable<'T>)> * 'T * 'T -> bool (requires 'T :> IComparable<'T>)
<Extension()>
Public Function ContainsAnyInRange(Of T As IComparable(Of T)) (span As ReadOnlySpan(Of T), lowInclusive As T, highInclusive As T) As Boolean
Parâmetros de Tipo Genérico
- T
Parâmetros
- span
- ReadOnlySpan<T>
O tempo para procurar.
- lowInclusive
- T
O limite inferior, inclusivo, do intervalo para o qual procurar.
- highInclusive
- T
O limite superior, inclusivo, do intervalo para procurar.
Devoluções
true se for encontrado. Se não for encontrado, devolve false.
Aplica-se a
ContainsAnyInRange<T>(Span<T>, T, T)
- Origem:
- MemoryExtensions.cs
- Origem:
- MemoryExtensions.cs
- Origem:
- MemoryExtensions.cs
- Origem:
- MemoryExtensions.cs
Procura qualquer valor no intervalo entre lowInclusive e highInclusive, inclusive, e retorna true se encontrado. Se não for encontrado, devolve false.
public:
generic <typename T>
where T : IComparable<T>[System::Runtime::CompilerServices::Extension]
static bool ContainsAnyInRange(Span<T> span, T lowInclusive, T highInclusive);
[System.Runtime.CompilerServices.OverloadResolutionPriority(-1)]
public static bool ContainsAnyInRange<T>(this Span<T> span, T lowInclusive, T highInclusive) where T : IComparable<T>;
public static bool ContainsAnyInRange<T>(this Span<T> span, T lowInclusive, T highInclusive) where T : IComparable<T>;
[<System.Runtime.CompilerServices.OverloadResolutionPriority(-1)>]
static member ContainsAnyInRange : Span<'T (requires 'T :> IComparable<'T>)> * 'T * 'T -> bool (requires 'T :> IComparable<'T>)
static member ContainsAnyInRange : Span<'T (requires 'T :> IComparable<'T>)> * 'T * 'T -> bool (requires 'T :> IComparable<'T>)
<Extension()>
Public Function ContainsAnyInRange(Of T As IComparable(Of T)) (span As Span(Of T), lowInclusive As T, highInclusive As T) As Boolean
Parâmetros de Tipo Genérico
- T
Parâmetros
- span
- Span<T>
O tempo para procurar.
- lowInclusive
- T
O limite inferior, inclusivo, do intervalo para o qual procurar.
- highInclusive
- T
O limite superior, inclusivo, do intervalo para procurar.
Devoluções
true se for encontrado. Se não for encontrado, devolve false.
- Atributos