GraphCategoryCollection.GetCategoriesBasedOn(GraphCategory) 方法

定义

获取基于指定基本类别的所有类别的枚举。

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)

参数

baseCategory
GraphCategory

要搜索的基本类别

返回

IEnumerable<GraphCategory>

基于基本类别的类别包括基本类别本身

属性

适用于