Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Function GetElements ( _
domainClassId As Guid _
) As Collection(Of ModelElement)
'使用
Dim instance As ElementGroup
Dim domainClassId As Guid
Dim returnValue As Collection(Of ModelElement)
returnValue = instance.GetElements(domainClassId)
public Collection<ModelElement> GetElements(
Guid domainClassId
)
public:
Collection<ModelElement^>^ GetElements(
Guid domainClassId
)
public function GetElements(
domainClassId : Guid
) : Collection<ModelElement>
Parameters
- domainClassId
Type: System.Guid
Return Value
Type: System.Collections.ObjectModel.Collection<ModelElement>
Permissions
- 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.