次の方法で共有


FindAll メソッド (Predicate(T))

指定した述語で定義された条件に一致するコレクション内のすべての要素を取得します。

名前空間:  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> ) > ) >
    検索する要素の条件を定義する Predicate デリゲートです。

戻り値

型: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'T> ) > ) >
指定した述語で定義された条件に一致するすべての要素に対する列挙子です。