Share via


GraphLinkCollection.GetLinksFrom Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Get all links from the specified node ID that 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 GetLinksFrom ( _
    nodeId As String, _
    ParamArray categories As GraphCategory() _
) As IEnumerable(Of GraphLink)
public IEnumerable<GraphLink> GetLinksFrom(
    string nodeId,
    params GraphCategory[] categories
)
public:
IEnumerable<GraphLink^>^ GetLinksFrom(
    String^ nodeId, 
    ... array<GraphCategory^>^ categories
)
member GetLinksFrom : 
        nodeId:string * 
        categories:GraphCategory[] -> IEnumerable<GraphLink> 
public function GetLinksFrom(
    nodeId : String, 
    ... categories : GraphCategory[]
) : IEnumerable<GraphLink>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

GraphLinkCollection Class

Microsoft.VisualStudio.GraphModel Namespace