MemoryExtensions.ContainsAnyInRange 메서드

정의

오버로드

ContainsAnyInRange<T>(ReadOnlySpan<T>, T, T)

및 사이의 lowInclusive 범위에서 값을 검색하고 highInclusive포함하며, 찾은 경우 를 반환합니다 true . 찾을 수 없으면 를 반환합니다 false.

ContainsAnyInRange<T>(Span<T>, T, T)

및 사이의 lowInclusive 범위에서 값을 검색하고 highInclusive포함하며, 찾은 경우 를 반환합니다 true . 찾을 수 없으면 를 반환합니다 false.

ContainsAnyInRange<T>(ReadOnlySpan<T>, T, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

및 사이의 lowInclusive 범위에서 값을 검색하고 highInclusive포함하며, 찾은 경우 를 반환합니다 true . 찾을 수 없으면 를 반환합니다 false.

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

형식 매개 변수

T

매개 변수

span
ReadOnlySpan<T>

검색할 범위입니다.

lowInclusive
T

검색할 범위의 하한(포함)입니다.

highInclusive
T

검색할 범위의 상한(포함)입니다.

반환

적용 대상

ContainsAnyInRange<T>(Span<T>, T, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

및 사이의 lowInclusive 범위에서 값을 검색하고 highInclusive포함하며, 찾은 경우 를 반환합니다 true . 찾을 수 없으면 를 반환합니다 false.

public:
generic <typename T>
 where T : IComparable<T>[System::Runtime::CompilerServices::Extension]
 static bool ContainsAnyInRange(Span<T> span, T lowInclusive, T highInclusive);
public static bool ContainsAnyInRange<T> (this Span<T> span, T lowInclusive, T highInclusive) where 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

형식 매개 변수

T

매개 변수

span
Span<T>

검색할 범위입니다.

lowInclusive
T

검색할 범위의 하한(포함)입니다.

highInclusive
T

검색할 범위의 상한(포함)입니다.

반환

적용 대상