GraphUpdatedEventArgs.GetAddedCategories(GraphObject) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取给定已更改节点的已添加关系图类别的列表。
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
已更改的节点
返回
如果未添加类别,则添加的类别的集合可能为空