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
match
Type: System.Predicate<T>The condition to check.
Return Value
Type: System.Collections.Generic.List<T>
A List of elements for which the match parameter returns true.
Permissions
- 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.
See Also
Reference
ReadOnlyLinkedElementCollection<T> Class