ReadOnlyLinkedElementCollection<T>.FindAll Method

Finds all elements which satisfy a given condition.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'宣言
Public Function FindAll ( _
    match As Predicate(Of T) _
) As List(Of T)
'使用
Dim instance As ReadOnlyLinkedElementCollection
Dim match As Predicate(Of T)
Dim returnValue As List(Of T)

returnValue = instance.FindAll(match)
public List<T> FindAll(
    Predicate<T> match
)
public:
List<T>^ FindAll(
    Predicate<T>^ match
)
public function FindAll(
    match : Predicate<T>
) : List<T>

Parameters

Return Value

Type: System.Collections.Generic.List<T>

A List of elements for which the match parameter returns true.

Permissions

See Also

Reference

ReadOnlyLinkedElementCollection<T> Class

ReadOnlyLinkedElementCollection<T> Members

Microsoft.VisualStudio.Modeling Namespace