GraphNode.GetTargets Method
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)
Syntax
'Declaration
Public Function GetTargets ( _
ParamArray linkCategories As GraphCategory() _
) As IEnumerable(Of GraphNode)
public IEnumerable<GraphNode> GetTargets(
params GraphCategory[] linkCategories
)
public:
IEnumerable<GraphNode^>^ GetTargets(
... array<GraphCategory^>^ linkCategories
)
member GetTargets :
linkCategories:GraphCategory[] -> IEnumerable<GraphNode>
public function GetTargets(
... linkCategories : GraphCategory[]
) : IEnumerable<GraphNode>
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: IEnumerable<GraphNode>
A collection of nodes
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.