Udostępnij za pośrednictwem


GraphNode.GetTargets(GraphCategory[]) Method

Definition

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

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphNode ^> ^ GetTargets(... cli::array <Microsoft::VisualStudio::GraphModel::GraphCategory ^> ^ linkCategories);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphNode+<GetTargets>d__35))]
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphNode> GetTargets (params Microsoft.VisualStudio.GraphModel.GraphCategory[] linkCategories);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphNode+<GetTargets>d__35))>]
member this.GetTargets : Microsoft.VisualStudio.GraphModel.GraphCategory[] -> seq<Microsoft.VisualStudio.GraphModel.GraphNode>
Public Iterator Function GetTargets (ParamArray linkCategories As GraphCategory()) As IEnumerable(Of GraphNode)

Parameters

linkCategories
GraphCategory[]

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

Returns

A collection of nodes

Attributes

Applies to