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
elementIds
Type: System.Collections.Generic.IEnumerable<Guid>The set of IDs whose corresponding elements are to be returned.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ModelElement>
A read-only collection of ModelElement objects.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.