GraphLinkCollection::GetLinksTo Method (String^, array<GraphCategory^>^)
Visual Studio 2015
Get all links to the specified node ID have at least one of the specified categories.
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
public: IEnumerable<GraphLink^>^ GetLinksTo( String^ nodeId, ... array<GraphCategory^>^ categories )
Parameters
- nodeId
-
Type:
System::String^
node to find links to
- categories
-
Type:
array<Microsoft.VisualStudio.GraphModel::GraphCategory^>^
0 or more categories used to filter the result set. If no categories provided then all links to the node are returned.
Return Value
Type: System.Collections.Generic::IEnumerable<GraphLink^>^links to the node that match the categories
Show: