Enumerable..::.All<(Of <(TSource>)>) 方法
确定序列中的所有元素是否满足条件。
类型参数
- TSource
-
source 中的元素的类型。
参数
- source
- 类型:System.Collections.Generic..::.IEnumerable<(Of <(TSource>)>)
包含要应用谓词的元素的 IEnumerable<(Of <(T>)>)。
- predicate
- 类型:System..::.Func<(Of <(TSource, Boolean>)>)
用于测试每个元素是否满足条件的函数。
