GraphNodeCollection.GetFiltered Method

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

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Function GetFiltered ( _
    filter As Predicate(Of GraphNode) _
) As IEnumerable(Of GraphNode)
public IEnumerable<GraphNode> GetFiltered(
    Predicate<GraphNode> filter
)
public:
IEnumerable<GraphNode^>^ GetFiltered(
    Predicate<GraphNode^>^ filter
)
member GetFiltered : 
        filter:Predicate<GraphNode> -> IEnumerable<GraphNode> 
public function GetFiltered(
    filter : Predicate<GraphNode>
) : IEnumerable<GraphNode>

Parameters

  • filter
    Type: Predicate<GraphNode>

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

Return Value

Type: IEnumerable<GraphNode>
The Nodes chosen by the filter

.NET Framework Security

See Also

Reference

GraphNodeCollection Class

Microsoft.VisualStudio.GraphModel Namespace