ModelElement.IMergeElements.CanMerge 方法

如果這個項目可以合併具有原型的內容,則傳回 true。

命名空間:  Microsoft.VisualStudio.Modeling
組件:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.11.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 命名空間

其他資源

自訂複製行為

HOW TO:程式複製和貼上行為 - 重新導向

HOW TO:加入拖放處理常式