ModelElement.IMergeElements.CanMerge メソッド
この要素がプロトタイプのコンテンツとマージできる場合は true を返します。
名前空間: Microsoft.VisualStudio.Modeling
アセンブリ: Microsoft.VisualStudio.Modeling.Sdk.12.0 (Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 内)
構文
'宣言
Private Function CanMerge ( _
rootElement As ProtoElementBase, _
elementGroupPrototype As ElementGroupPrototype _
) As Boolean Implements IMergeElements.CanMerge
bool IMergeElements.CanMerge(
ProtoElementBase rootElement,
ElementGroupPrototype elementGroupPrototype
)
パラメーター
- rootElement
型 : Microsoft.VisualStudio.Modeling.ProtoElementBase
プロトタイプ内のルート要素
- elementGroupPrototype
型 : Microsoft.VisualStudio.Modeling.ElementGroupPrototype
追加のリンクと要素を格納できる完全なプロトタイプ。
戻り値
型 : System.Boolean
実装
IMergeElements.CanMerge(ProtoElementBase, ElementGroupPrototype)
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
関連項目
Microsoft.VisualStudio.Modeling 名前空間