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
'宣言
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
- match
Type: System.Predicate<T>
The condition to check.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.