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

建立指定的終止型別,根據指定的根項目清單的 ElementGroupPrototype

命名空間:  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, _
    bypassDemandLoading As Boolean _
) As ElementGroupPrototype
public ElementGroupPrototype GetClosurePrototypeGroup(
    ICollection<ModelElement> rootElements,
    ClosureType type,
    bool bypassDemandLoading
)

參數

  • bypassDemandLoading
    型別:System.Boolean
    指出是否略過載入時建立程序終止的要求

傳回值

型別:Microsoft.VisualStudio.Modeling.ElementGroupPrototype
ElementGroupPrototype,終止查核行程中所選取的項目集合

備註

所有的群組項目所沒有的任何群組-包含,內嵌關聯性,目標會標示為在 ElementGroupPrototype 中的根項目。

.NET Framework 安全性

請參閱

參考

Partition 類別

GetClosurePrototypeGroup 多載

Microsoft.VisualStudio.Modeling 命名空間