Returns true if this element can merge with the content of the prototype.
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
声明
Private Function CanMerge ( _
    rootElement As ProtoElementBase, _
    elementGroupPrototype As ElementGroupPrototype _
) As Boolean Implements IMergeElements.CanMerge
bool IMergeElements.CanMerge(
    ProtoElementBase rootElement,
    ElementGroupPrototype elementGroupPrototype
)
private:
virtual bool CanMerge(
    ProtoElementBase^ rootElement, 
    ElementGroupPrototype^ elementGroupPrototype
) sealed = IMergeElements::CanMerge
private abstract CanMerge : 
        rootElement:ProtoElementBase * 
        elementGroupPrototype:ElementGroupPrototype -> bool 
private override CanMerge : 
        rootElement:ProtoElementBase * 
        elementGroupPrototype:ElementGroupPrototype -> bool 
JScript does not support explicit interface implementations.
Parameters
- rootElement
 Type: Microsoft.VisualStudio.Modeling.ProtoElementBase
 The root element in the prototype
- elementGroupPrototype
 Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
 The full prototype, which might contain additional links and elements.
Return Value
Type: System.Boolean
Implements
IMergeElements.CanMerge(ProtoElementBase, ElementGroupPrototype)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Modeling Namespace