GraphUpdatedEventArgs.GetAddedCategories(GraphObject) 方法

定义

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

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::GraphCategory ^> ^ GetAddedCategories(Microsoft::VisualStudio::GraphModel::GraphObject ^ parent);
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.GraphCategory> GetAddedCategories (Microsoft.VisualStudio.GraphModel.GraphObject parent);
member this.GetAddedCategories : Microsoft.VisualStudio.GraphModel.GraphObject -> seq<Microsoft.VisualStudio.GraphModel.GraphCategory>
Public Function GetAddedCategories (parent As GraphObject) As IEnumerable(Of GraphCategory)

参数

parent
GraphObject

已更改的节点

返回

IEnumerable<GraphCategory>

如果未添加类别,则添加的类别的集合可能为空

适用于