Delen via


GraphNodeCollection.GetByCategory Method (array<GraphCategory )

[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 have the specified categories.

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

Syntax

'Declaration
Public Function GetByCategory ( _
    ParamArray categories As GraphCategory() _
) As IEnumerable(Of GraphNode)
public IEnumerable<GraphNode> GetByCategory(
    params GraphCategory[] categories
)
public:
IEnumerable<GraphNode^>^ GetByCategory(
    ... array<GraphCategory^>^ categories
)
member GetByCategory : 
        categories:GraphCategory[] -> IEnumerable<GraphNode> 
public function GetByCategory(
    ... categories : GraphCategory[]
) : IEnumerable<GraphNode>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<GraphNode>
nodes that match the filter set

.NET Framework Security

See Also

Reference

GraphNodeCollection Class

GetByCategory Overload

Microsoft.VisualStudio.GraphModel Namespace