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
)
參數
- rootElements
型別:System.Collections.Generic.ICollection<ModelElement>
若要開始從終止查核行程的根項目的集合
- type
型別:Microsoft.VisualStudio.Modeling.ClosureType
若要建置的終止型別
- bypassDemandLoading
型別:System.Boolean
指出是否略過載入時建立程序終止的要求
傳回值
型別:Microsoft.VisualStudio.Modeling.ElementGroupPrototype
ElementGroupPrototype,終止查核行程中所選取的項目集合
備註
所有的群組項目所沒有的任何群組-包含,內嵌關聯性,目標會標示為在 ElementGroupPrototype 中的根項目。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。