次の方法で共有


Store.GetClosurePrototypeGroup メソッド (ICollection<ModelElement>, ClosureType, Boolean)

ルート要素の一覧と要求の読み込みの省略を閉じると、指定の型の既定のパーティションの要素のグループのプロトタイプを作成します。

名前空間:  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
    クロージャでの読み込み中に要求をバイパスするように調整します。; それ以外の場合は false。

戻り値

型 : Microsoft.VisualStudio.Modeling.ElementGroupPrototype
コピーの要素のグループを形成するクロージャのプロトタイプのコレクション。

解説

要素のグループのプロトタイプ DistinguishedElements の一覧は、ルート要素の一覧が表示されます

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

Store クラス

GetClosurePrototypeGroup オーバーロード

Microsoft.VisualStudio.Modeling 名前空間