ReadOnlyLinkedElementCollection<T>.TrueForAll 方法

定义

如果给定条件对于集合中的所有元素都为 true,则 Retursn 为 true。

public:
 bool TrueForAll(Predicate<T> ^ match);
public bool TrueForAll (Predicate<T> match);
member this.TrueForAll : Predicate<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)> -> bool
Public Function TrueForAll (match As Predicate(Of T)) As Boolean

参数

match
Predicate<T>

状态.

返回

Boolean

如果谓词为所有元素返回 true,则为 true; 否则为。

适用于