FindAll 方法 (Predicate(T))
Retrieves all elements in the collection that match the conditions defined by the specified predicate.
命名空间: Microsoft.SqlServer.Management.SqlParser.Metadata
程序集: Microsoft.SqlServer.Management.SqlParser(在 Microsoft.SqlServer.Management.SqlParser.dll 中)
语法
声明
Function FindAll ( _
match As Predicate(Of T) _
) As IEnumerable(Of T)
用法
Dim instance As IMetadataCollection
Dim match As Predicate(Of T)
Dim returnValue As IEnumerable(Of T)
returnValue = instance.FindAll(match)
IEnumerable<T> FindAll(
Predicate<T> match
)
IEnumerable<T>^ FindAll(
Predicate<T>^ match
)
abstract FindAll :
match:Predicate<'T> -> IEnumerable<'T>
function FindAll(
match : Predicate<T>
) : IEnumerable<T>
参数
- match
类型:System. . :: . .Predicate< (Of < ( <'T> ) > ) >
The Predicate delegate that defines the conditions of the elements to search for.
返回值
类型:System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'T> ) > ) >
An enumerator over all the elements that match the conditions defined by the specified predicate.