Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns a value indicating whether the ElementGroupPrototype from the IDataObject can be merged (i.e., pasted or dropped) into the target ModelElement.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Overridable Function CanMerge ( _
targetElement As ModelElement, _
data As IDataObject _
) As Boolean
public virtual bool CanMerge(
ModelElement targetElement,
IDataObject data
)
public:
virtual bool CanMerge(
ModelElement^ targetElement,
IDataObject^ data
)
abstract CanMerge :
targetElement:ModelElement *
data:IDataObject -> bool
override CanMerge :
targetElement:ModelElement *
data:IDataObject -> bool
public function CanMerge(
targetElement : ModelElement,
data : IDataObject
) : boolean
Parameters
- targetElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The ModelElement that is the target for the ElementGroupPrototype.
- data
Type: System.Windows.Forms.IDataObject
The IDataObject potentially containing the ElementGroupPrototype.
Return Value
Type: System.Boolean
true if the ElementGroupPrototype from the IDataObject can be merged into the target ModelElement. Otherwise, false.
.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.