ImmutableArrayExtensions.Any 메서드

정의

오버로드

Any<T>(ImmutableArray<T>)

배열에 요소가 들어 있는지 여부를 나타내는 값을 가져옵니다.

Any<T>(ImmutableArray<T>.Builder)

이 컬렉션에 요소가 들어 있는지 여부를 나타내는 값을 반환합니다.

Any<T>(ImmutableArray<T>, Func<T,Boolean>)

배열에 지정된 조건과 일치하는 요소가 들어 있는지 여부를 나타내는 값을 가져옵니다.

Any<T>(ImmutableArray<T>)

배열에 요소가 들어 있는지 여부를 나타내는 값을 가져옵니다.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static bool Any(System::Collections::Immutable::ImmutableArray<T> immutableArray);
public static bool Any<T> (this System.Collections.Immutable.ImmutableArray<T> immutableArray);
static member Any : System.Collections.Immutable.ImmutableArray<'T> -> bool
<Extension()>
Public Function Any(Of T) (immutableArray As ImmutableArray(Of T)) As Boolean

형식 매개 변수

T

컬렉션에 의해 포함되는 요소의 형식입니다.

매개 변수

immutableArray
ImmutableArray<T>

요소를 확인할 배열입니다.

반환

Boolean

배열에 요소가 들어 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상

Any<T>(ImmutableArray<T>.Builder)

이 컬렉션에 요소가 들어 있는지 여부를 나타내는 값을 반환합니다.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static bool Any(System::Collections::Immutable::ImmutableArray<T>::Builder ^ builder);
public static bool Any<T> (this System.Collections.Immutable.ImmutableArray<T>.Builder builder);
static member Any : System.Collections.Immutable.ImmutableArray<'T>.Builder -> bool
<Extension()>
Public Function Any(Of T) (builder As ImmutableArray(Of T).Builder) As Boolean

형식 매개 변수

T

배열 요소의 형식입니다.

매개 변수

builder
ImmutableArray<T>.Builder

일치하는 항목을 확인할 작성기입니다.

반환

Boolean

배열 작성기에 요소가 들어 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상

Any<T>(ImmutableArray<T>, Func<T,Boolean>)

배열에 지정된 조건과 일치하는 요소가 들어 있는지 여부를 나타내는 값을 가져옵니다.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static bool Any(System::Collections::Immutable::ImmutableArray<T> immutableArray, Func<T, bool> ^ predicate);
public static bool Any<T> (this System.Collections.Immutable.ImmutableArray<T> immutableArray, Func<T,bool> predicate);
static member Any : System.Collections.Immutable.ImmutableArray<'T> * Func<'T, bool> -> bool
<Extension()>
Public Function Any(Of T) (immutableArray As ImmutableArray(Of T), predicate As Func(Of T, Boolean)) As Boolean

형식 매개 변수

T

컬렉션에 의해 포함되는 요소의 형식입니다.

매개 변수

immutableArray
ImmutableArray<T>

요소를 확인할 배열입니다.

predicate
Func<T,Boolean>

요소와 일치시킬 조건을 정의하는 대리자입니다.

반환

Boolean

요소가 지정된 조건과 일치하면 true이고, 그렇지 않으면 false입니다.

적용 대상