GraphUpdatedEventArgs.GetAddedCategories 方法

获取给定的已更改的节点所添加的图形类别的列表。

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

语法

声明
Public Function GetAddedCategories ( _
    parent As GraphObject _
) As IEnumerable(Of GraphCategory)
public IEnumerable<GraphCategory> GetAddedCategories(
    GraphObject parent
)
public:
IEnumerable<GraphCategory^>^ GetAddedCategories(
    GraphObject^ parent
)
member GetAddedCategories : 
        parent:GraphObject -> IEnumerable<GraphCategory> 
public function GetAddedCategories(
    parent : GraphObject
) : IEnumerable<GraphCategory>

参数

返回值

类型:System.Collections.Generic.IEnumerable<GraphCategory>
如果没有添加类别,则添加类别集合可能为空

.NET Framework 安全性

请参见

参考

GraphUpdatedEventArgs 类

Microsoft.VisualStudio.GraphModel 命名空间