次の方法で共有


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
)

パラメーター

戻り値

型 : System.Boolean

実装

IMergeElements.CanMerge(ProtoElementBase, ElementGroupPrototype)

.NET Framework セキュリティ

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

参照

関連項目

ModelElement クラス

Microsoft.VisualStudio.Modeling 名前空間

その他の技術情報

コピー動作のカスタマイズ

方法: プログラムのコピー動作および貼り付け動作 - リダイレクト

方法: ドラッグ アンド ドロップ ハンドラーを追加する