ImmutableList<T>.Builder.TrueForAll(Predicate<T>) メソッド

定義

変更できないリスト内のすべての要素が、指定した述語で定義されている条件と一致するかどうかを判断します。

public:
 virtual bool TrueForAll(Predicate<T> ^ match);
public bool TrueForAll(Predicate<T> match);
abstract member TrueForAll : Predicate<'T> -> bool
override this.TrueForAll : Predicate<'T> -> bool
Public Function TrueForAll (match As Predicate(Of T)) As Boolean

パラメーター

match
Predicate<T>

要素に対してチェックする条件を定義するデリゲート。

返品

true 変更できないリスト内のすべての要素が、指定された述語によって定義された条件と一致する場合。それ以外の場合は false。 リストに要素がない場合、戻り値は true

適用対象