GraphNode::GetTargets Method (array<GraphCategory^>^)

 

Gets the targets linked with this node via a link that matches at least 1 of the specified link categories.

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

public:
IEnumerable<GraphNode^>^ GetTargets(
	... array<GraphCategory^>^ linkCategories
)

Parameters

linkCategories
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 targets are returned.

Return Value

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

A collection of nodes

Return to top
Show: