GraphLinkCollection::GetLinksFrom Method (String^, array<GraphCategory^>^)
Visual Studio 2015
Get all links from the specified node ID that have at least one of the specified categories.
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
public: IEnumerable<GraphLink^>^ GetLinksFrom( String^ nodeId, ... array<GraphCategory^>^ categories )
Parameters
- nodeId
-
Type:
System::String^
node to find links fromo
- 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 from the node that match the categories
Show: