ModelElements の指定されたコレクションを使用して指定 IDataObject に ElementGroupPrototype 形式を追加します。派生クラスから要素リンク要求の負荷をモデル要素のコレクションを作成するように強制するに呼び出すことができます。
名前空間: Microsoft.VisualStudio.Modeling
アセンブリ: Microsoft.VisualStudio.Modeling.Sdk.11.0 (Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 内)
構文
'宣言
Protected Sub AddElementGroupFormat ( _
data As IDataObject, _
elements As ICollection(Of ModelElement), _
closureType As ClosureType, _
bypassDemandLoading As Boolean _
)
protected void AddElementGroupFormat(
IDataObject data,
ICollection<ModelElement> elements,
ClosureType closureType,
bool bypassDemandLoading
)
パラメーター
- data
型 : System.Windows.Forms.IDataObject
ElementGroupPrototype のデータ形式を追加する IDataObject。
- elements
型 : System.Collections.Generic.ICollection<ModelElement>
ModelElements のコレクション。
- closureType
型 : Microsoft.VisualStudio.Modeling.ClosureType
要素のフィルター処理に使用するクロージャの型。
- bypassDemandLoading
型 : System.Boolean
要素リンクはモデル要素のコレクションを作成するために読み込まれる要求するかどうか。
解説
データ形式の名前は、typeof (ElementGroupPrototype) .FullName と見なされます。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。