다음을 통해 공유


IElementDirectory.GetElements Method

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

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

Syntax

‘선언
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