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
- 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.