ElementGroupPrototype 建構函式 (ElementGroup, IEnumerable<ModelElement>)
建構函式
命名空間: Microsoft.VisualStudio.Modeling
組件: Microsoft.VisualStudio.Modeling.Sdk.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)
語法
'宣告
Public Sub New ( _
group As ElementGroup, _
rootElements As IEnumerable(Of ModelElement) _
)
public ElementGroupPrototype(
ElementGroup group,
IEnumerable<ModelElement> rootElements
)
參數
- group
型別:Microsoft.VisualStudio.Modeling.ElementGroup
要重新建立項目群組
- rootElements
型別:System.Collections.Generic.IEnumerable<ModelElement>
此群組的根項目 ICollection
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。