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>
参数
- parent
类型:Microsoft.VisualStudio.GraphModel.GraphObject
已更改的节点
返回值
类型:System.Collections.Generic.IEnumerable<GraphCategory>
如果没有添加类别,则添加类别集合可能为空
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。