IElementDirectory.GetElements 方法

从特殊集合 ID 中获取元素集合。

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

语法

声明
Function GetElements ( _
    elementIds As IEnumerable(Of Guid) _
) As ReadOnlyCollection(Of ModelElement)
ReadOnlyCollection<ModelElement> GetElements(
    IEnumerable<Guid> elementIds
)

参数

返回值

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

.NET Framework 安全性

请参阅

参考

IElementDirectory 接口

Microsoft.VisualStudio.Modeling 命名空间