GraphCategoryCollection.GetCategoriesBasedOn(GraphCategory) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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