ElementGroup.GetElements Method (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.

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

Syntax

'Declaration
Public Function GetElements ( _
    domainClassId As Guid _
) As Collection(Of ModelElement)
public Collection<ModelElement> GetElements(
    Guid domainClassId
)
public:
Collection<ModelElement^>^ GetElements(
    Guid domainClassId
)
member GetElements : 
        domainClassId:Guid -> Collection<ModelElement> 
public function GetElements(
    domainClassId : Guid
) : Collection<ModelElement>

Parameters

  • domainClassId
    Type: Guid

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

Return Value

Type: Collection<ModelElement>

.NET Framework Security

See Also

Reference

ElementGroup Class

GetElements Overload

Microsoft.VisualStudio.Modeling Namespace