Partager via


ReadOnlyLinkedElementCollection<T>.FindAll Method

Finds all elements which satisfy a given condition.

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

Syntax

'Déclaration
Public Function FindAll ( _
    match As Predicate(Of T) _
) As List(Of T)
public List<T> FindAll(
    Predicate<T> match
)
public:
List<T>^ FindAll(
    Predicate<T>^ match
)
member FindAll : 
        match:Predicate<'T> -> List<'T> 
public function FindAll(
    match : Predicate<T>
) : List<T>

Parameters

Return Value

Type: System.Collections.Generic.List<T>
A List of elements for which the </w:t></w:r><w:r><w:rPr><w:rStyle w:val="ParameterReference"/></w:rPr><w:t>match</w:t></w:r><w:r><w:t> parameter returns true.

.NET Framework Security

See Also

Reference

ReadOnlyLinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace