Share via


IElementDirectory.GetElements Method

Get the set of elements from the IDs in a particular set.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Function GetElements ( _
    elementIds As IEnumerable(Of Guid) _
) As ReadOnlyCollection(Of ModelElement)
ReadOnlyCollection<ModelElement> GetElements(
    IEnumerable<Guid> elementIds
)
ReadOnlyCollection<ModelElement^>^ GetElements(
    IEnumerable<Guid>^ elementIds
)
abstract GetElements : 
        elementIds:IEnumerable<Guid> -> ReadOnlyCollection<ModelElement> 
function GetElements(
    elementIds : IEnumerable<Guid>
) : ReadOnlyCollection<ModelElement>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ModelElement>
A read-only collection of ModelElement objects.

.NET Framework Security

See Also

Reference

IElementDirectory Interface

Microsoft.VisualStudio.Modeling Namespace