GraphNodeCollection.GetFiltered(Predicate<GraphNode>) Method

Definition

Returns all nodes in the graph that match according to the given filter

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphNode ^> ^ GetFiltered(Predicate<Microsoft::VisualStudio::GraphModel::GraphNode ^> ^ filter);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphNodeCollection+<GetFiltered>d__37))]
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphNode> GetFiltered (Predicate<Microsoft.VisualStudio.GraphModel.GraphNode> filter);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphNodeCollection+<GetFiltered>d__37))>]
member this.GetFiltered : Predicate<Microsoft.VisualStudio.GraphModel.GraphNode> -> seq<Microsoft.VisualStudio.GraphModel.GraphNode>
Public Iterator Function GetFiltered (filter As Predicate(Of GraphNode)) As IEnumerable(Of GraphNode)

Parameters

filter
Predicate<GraphNode>

The filter to use to check which nodes to include in the result

Returns

The Nodes chosen by the filter

Attributes

Applies to