ReadOnlyLinkedElementCollection<T>.TrueForAll 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果给定条件对于集合中的所有元素都为 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>
状态.
返回
如果谓词为所有元素返回 true,则为 true; 否则为。