Condividi tramite


GraphCategoryCollection.GetCategoriesBasedOn Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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: System.Collections.Generic.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