GraphCategoryCollection.GetCategoriesBasedOn 方法

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

命名空间:  Microsoft.VisualStudio.GraphModel
程序集:  Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)

语法

声明
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>

参数

返回值

类型:System.Collections.Generic.IEnumerable<GraphCategory>
根据基类的类。包括基类。

.NET Framework 安全性

请参见

参考

GraphCategoryCollection 类

Microsoft.VisualStudio.GraphModel 命名空间