共用方式為


Store.GetClosurePrototypeGroup 方法 (ICollection<ModelElement>, ClosureType)

如果指定的根項目清單,請在給定的終止型別預設資料分割中建立項目群組的原型。

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

語法

'宣告
Public Function GetClosurePrototypeGroup ( _
    rootElements As ICollection(Of ModelElement), _
    type As ClosureType _
) As ElementGroupPrototype
public ElementGroupPrototype GetClosurePrototypeGroup(
    ICollection<ModelElement> rootElements,
    ClosureType type
)

參數

傳回值

型別:Microsoft.VisualStudio.Modeling.ElementGroupPrototype
項目群組原型的集合。

備註

DistinguishedElements 清單中的項目群組原型也會填入的根項目清單

.NET Framework 安全性

請參閱

參考

Store 類別

GetClosurePrototypeGroup 多載

Microsoft.VisualStudio.Modeling 命名空間