Partition.GetClosurePrototypeGroup 方法

定義

多載

GetClosurePrototypeGroup(ICollection<ModelElement>, ClosureType)

根據指定的根項目清單,建立指定之結束型別的 ElementGroupPrototype

GetClosurePrototypeGroup(ICollection<ModelElement>, ClosureType, Boolean)

根據指定的根項目清單,建立指定之結束型別的 ElementGroupPrototype

GetClosurePrototypeGroup(ICollection<ModelElement>, ClosureType)

根據指定的根項目清單,建立指定之結束型別的 ElementGroupPrototype

public:
 Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ GetClosurePrototypeGroup(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements, Microsoft::VisualStudio::Modeling::ClosureType type);
[System.Diagnostics.DebuggerStepThrough]
public Microsoft.VisualStudio.Modeling.ElementGroupPrototype GetClosurePrototypeGroup (System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements, Microsoft.VisualStudio.Modeling.ClosureType type);
[<System.Diagnostics.DebuggerStepThrough>]
member this.GetClosurePrototypeGroup : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.ClosureType -> Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Public Function GetClosurePrototypeGroup (rootElements As ICollection(Of ModelElement), type As ClosureType) As ElementGroupPrototype

參數

rootElements
ICollection<ModelElement>

開始關閉的根項目集合

type
ClosureType

要建立的關閉類型

傳回

ElementGroupPrototype

在關閉逐步解說中選取之元素集合的 ElementGroupPrototype

屬性

備註

元素群組原型的 DistinguishedElements 清單將填入根項目清單

適用於

GetClosurePrototypeGroup(ICollection<ModelElement>, ClosureType, Boolean)

根據指定的根項目清單,建立指定之結束型別的 ElementGroupPrototype

public:
 Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ GetClosurePrototypeGroup(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements, Microsoft::VisualStudio::Modeling::ClosureType type, bool bypassDemandLoading);
public Microsoft.VisualStudio.Modeling.ElementGroupPrototype GetClosurePrototypeGroup (System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements, Microsoft.VisualStudio.Modeling.ClosureType type, bool bypassDemandLoading);
member this.GetClosurePrototypeGroup : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.ClosureType * bool -> Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Public Function GetClosurePrototypeGroup (rootElements As ICollection(Of ModelElement), type As ClosureType, bypassDemandLoading As Boolean) As ElementGroupPrototype

參數

rootElements
ICollection<ModelElement>

從開始,開始結束的根項目集合

type
ClosureType

要建立的關閉類型

bypassDemandLoading
Boolean

指出在形成關閉時是否略過需求載入

傳回

ElementGroupPrototype

在關閉逐步解說中選取之元素集合的 ElementGroupPrototype

備註

所有不是任何群組所包含之內嵌關聯性之目標的群組元素都會標示為 ElementGroupPrototype 中的根項目。

適用於