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.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns all nodes in the graph that have the specified categories
Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function GetByCategory ( _
    ParamArray categories As String() _
) As IEnumerable(Of GraphNode)
public IEnumerable<GraphNode> GetByCategory(
    params string[] categories
)
public:
IEnumerable<GraphNode^>^ GetByCategory(
    ... array<String^>^ categories
)
member GetByCategory : 
        categories:string[] -> IEnumerable<GraphNode> 
public function GetByCategory(
    ... categories : String[]
) : IEnumerable<GraphNode>
Parameters
- categories 
 Type: array<System.String[]- list of category ID's 
Return Value
Type: System.Collections.Generic.IEnumerable<GraphNode>
nodes that match the filter set
.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.