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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。