GraphNodeCollection::GetByCategory Method (array<GraphCategory^>^)

 

Returns all nodes in the graph that have the specified categories.

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

public:
IEnumerable<GraphNode^>^ GetByCategory(
	... array<GraphCategory^>^ categories
)

Parameters

categories
Type: array<Microsoft.VisualStudio.GraphModel::GraphCategory^>^

0 or more GraphProperty objects that are used to filter the result set. If no categories are provided then all nodes are returned.

Return Value

Type: System.Collections.Generic::IEnumerable<GraphNode^>^

nodes that match the filter set

Return to top
Show: