다음을 통해 공유


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

‘선언
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: System.Guid
    The Id of the domain class of the elements we are looking for

Return Value

Type: System.Collections.ObjectModel.Collection<ModelElement>

.NET Framework Security

See Also

Reference

ElementGroup Class

GetElements Overload

Microsoft.VisualStudio.Modeling Namespace