GraphCategoryCollection.GetCategoriesBasedOn Method

Gets an enumeration of all categories that are based on the specified base category.

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

Syntax

'Declaration
Public Function GetCategoriesBasedOn ( _
    baseCategory As GraphCategory _
) As IEnumerable(Of GraphCategory)
public IEnumerable<GraphCategory> GetCategoriesBasedOn(
    GraphCategory baseCategory
)
public:
IEnumerable<GraphCategory^>^ GetCategoriesBasedOn(
    GraphCategory^ baseCategory
)
member GetCategoriesBasedOn : 
        baseCategory:GraphCategory -> IEnumerable<GraphCategory> 
public function GetCategoriesBasedOn(
    baseCategory : GraphCategory
) : IEnumerable<GraphCategory>

Parameters

Return Value

Type: IEnumerable<GraphCategory>
The categories that are based on the base category. Includes the base category itself.

.NET Framework Security

See Also

Reference

GraphCategoryCollection Class

Microsoft.VisualStudio.GraphModel Namespace