Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- linkCategories
Type: array<Microsoft.VisualStudio.GraphModel.GraphCategory[]
0 or more GraphProperty objects used to filter the result set. If no categories are provided then all sources are returned.
Return Value
Type: System.Collections.Generic.IEnumerable<GraphNode>
A collection of nodes
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.