IElementDirectory.FindElements 方法 (Guid)

在指定类型目录中查找所有元素。

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

语法

声明
Function FindElements ( _
    domainClassId As Guid _
) As ReadOnlyCollection(Of ModelElement)
ReadOnlyCollection<ModelElement> FindElements(
    Guid domainClassId
)

参数

  • domainClassId
    类型:System.Guid
    要查找的域类的 ID。

返回值

类型:System.Collections.ObjectModel.ReadOnlyCollection<ModelElement>
指定类型的只读集合。

备注

元素,则未找到,空列表返回。

.NET Framework 安全性

请参阅

参考

IElementDirectory 接口

FindElements 重载

Microsoft.VisualStudio.Modeling 命名空间