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

 

Returns all links in the graph that contain one or more of the specified categories.

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

public:
IEnumerable<GraphLink^>^ 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 provided then all links are returned.

Return Value

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

links that match the categories

Return to top
Show: