共用方式為


ElementGroup.GetElements 方法 (Guid)

取得這個群組中所包含之特定網域類別的一組項目執行個體。 這不包括子系子群組所包含的項目集。

命名空間:  Microsoft.VisualStudio.Modeling
組件:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)

語法

'宣告
Public Function GetElements ( _
    domainClassId As Guid _
) As Collection(Of ModelElement)
public Collection<ModelElement> GetElements(
    Guid domainClassId
)

參數

  • domainClassId
    類型:System.Guid
    我們要尋找的項目的網域類別的 Id

傳回值

類型:System.Collections.ObjectModel.Collection<ModelElement>

.NET Framework 安全性

請參閱

參考

ElementGroup 類別

GetElements 多載

Microsoft.VisualStudio.Modeling 命名空間