GraphLinkCollection.GetLinksTo Method

Get all links to the specified node id have at least one of the specified categories.

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

Syntax

'Declaration
Public Function GetLinksTo ( _
    nodeId As String, _
    ParamArray categories As GraphCategory() _
) As IEnumerable(Of GraphLink)
public IEnumerable<GraphLink> GetLinksTo(
    string nodeId,
    params GraphCategory[] categories
)
public:
IEnumerable<GraphLink^>^ GetLinksTo(
    String^ nodeId, 
    ... array<GraphCategory^>^ categories
)
member GetLinksTo : 
        nodeId:string * 
        categories:GraphCategory[] -> IEnumerable<GraphLink> 
public function GetLinksTo(
    nodeId : String, 
    ... categories : GraphCategory[]
) : IEnumerable<GraphLink>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<GraphLink>
links to the node that match the categories

.NET Framework Security

See Also

Reference

GraphLinkCollection Class

Microsoft.VisualStudio.GraphModel Namespace