Freigeben über


ElementGroup.GetElements Method

Definition

Overloads

GetElements()

Get the set of elements contained by this group. This does not include the set of elements contained by child subgroups.

GetElements(Guid)

Get the set of element instances of a particular domain class that are contained in this group. This does not include the set of elements contained by child subgroups.

GetElements()

Get the set of elements contained by this group. This does not include the set of elements contained by child subgroups.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetElements();
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement> GetElements ();
member this.GetElements : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ModelElement>
Public Function GetElements () As ReadOnlyCollection(Of ModelElement)

Returns

Applies to

GetElements(Guid)

Get the set of element instances of a particular domain class that are contained in this group. This does not include the set of elements contained by child subgroups.

public:
 System::Collections::ObjectModel::Collection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetElements(Guid domainClassId);
public System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Modeling.ModelElement> GetElements (Guid domainClassId);
member this.GetElements : Guid -> System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Modeling.ModelElement>
Public Function GetElements (domainClassId As Guid) As Collection(Of ModelElement)

Parameters

domainClassId
Guid

The Id of the domain class of the elements we are looking for

Returns

The set of contained elements

Applies to