GraphCategoryCollection.GetCategoriesBasedOn(GraphCategory) Method

Definition

Gets an enumeration of all categories which are based upon the specified base category.

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphCategory ^> ^ GetCategoriesBasedOn(Microsoft::VisualStudio::GraphModel::GraphCategory ^ baseCategory);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphCategoryCollection+<GetCategoriesBasedOn>d__18))]
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphCategory> GetCategoriesBasedOn (Microsoft.VisualStudio.GraphModel.GraphCategory baseCategory);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.GraphModel.GraphCategoryCollection+<GetCategoriesBasedOn>d__18))>]
member this.GetCategoriesBasedOn : Microsoft.VisualStudio.GraphModel.GraphCategory -> seq<Microsoft.VisualStudio.GraphModel.GraphCategory>
Public Iterator Function GetCategoriesBasedOn (baseCategory As GraphCategory) As IEnumerable(Of GraphCategory)

Parameters

baseCategory
GraphCategory

Base category to search with

Returns

The categories which are based upon the base category, includes the base category itself

Attributes

Applies to