Share via


GraphNode.GetSources Method

Gets the sources 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 GetSources ( _
    ParamArray linkCategories As GraphCategory() _
) As IEnumerable(Of GraphNode)
public IEnumerable<GraphNode> GetSources(
    params GraphCategory[] linkCategories
)
public:
IEnumerable<GraphNode^>^ GetSources(
    ... array<GraphCategory^>^ linkCategories
)
member GetSources : 
        linkCategories:GraphCategory[] -> IEnumerable<GraphNode> 
public function GetSources(
    ... linkCategories : GraphCategory[]
) : IEnumerable<GraphNode>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<GraphNode>
A collection of nodes

.NET Framework Security

See Also

Reference

GraphNode Class

Microsoft.VisualStudio.GraphModel Namespace