Delen via


GraphNodeCollection.GetFiltered Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Return Value

Type: System.Collections.Generic.IEnumerable<GraphNode>
The Nodes chosen by the filter

.NET Framework Security

See Also

Reference

GraphNodeCollection Class

Microsoft.VisualStudio.GraphModel Namespace