GraphLinkCollection.GetByCategory Method

Returns all links in the graph that contain one or more of the specified categories.

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

Syntax

'Declaration
Public Function GetByCategory ( _
    ParamArray categories As GraphCategory() _
) As IEnumerable(Of GraphLink)
public IEnumerable<GraphLink> GetByCategory(
    params GraphCategory[] categories
)
public:
IEnumerable<GraphLink^>^ GetByCategory(
    ... array<GraphCategory^>^ categories
)
member GetByCategory : 
        categories:GraphCategory[] -> IEnumerable<GraphLink> 
public function GetByCategory(
    ... categories : GraphCategory[]
) : IEnumerable<GraphLink>

Parameters

Return Value

Type: IEnumerable<GraphLink>
links that match the categories

.NET Framework Security

See Also

Reference

GraphLinkCollection Class

Microsoft.VisualStudio.GraphModel Namespace