ImmutableArrayExtensions.Any メソッド

定義

オーバーロード

名前 説明
Any<T>(ImmutableArray<T>)

配列に要素が含まれているかどうかを示す値を取得します。

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

このコレクションに要素が含まれているかどうかを示す値を返します。

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

指定した条件に一致する要素が配列に含まれているかどうかを示す値を取得します。

Any<T>(ImmutableArray<T>)

ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs

配列に要素が含まれているかどうかを示す値を取得します。

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>

要素をチェックする配列。

返品

true 配列に要素が含まれている場合。それ以外の場合は false

適用対象

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

ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs

このコレクションに要素が含まれているかどうかを示す値を返します。

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

一致を確認するビルダー。

返品

true 配列ビルダーに要素が含まれている場合。それ以外の場合は false

適用対象

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

ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs
ソース:
ImmutableArrayExtensions.cs

指定した条件に一致する要素が配列に含まれているかどうかを示す値を取得します。

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>

要素に一致する条件を定義するデリゲート。

返品

true 要素が指定された条件と一致する場合。それ以外の場合は false

適用対象