IElementDirectory.GetElements(IEnumerable<Guid>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the set of elements with ID's in a particular set.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetElements(System::Collections::Generic::IEnumerable<Guid> ^ elementIds);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement> GetElements (System.Collections.Generic.IEnumerable<Guid> elementIds);
abstract member GetElements : seq<Guid> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement>
Public Function GetElements (elementIds As IEnumerable(Of Guid)) As ReadOnlyCollection(Of ModelElement)
Parameters
- elementIds
- IEnumerable<Guid>
The set of ID's whose corresponding elements are to be returned
Returns
The set of elements