ElementOperations::CanMerge Method (ModelElement^, IDataObject^)
Visual Studio 2015
Returns a value indicating whether the ElementGroupPrototype from the IDataObject can be merged (i.e., pasted or dropped) into the target ModelElement.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
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::Booleantrue if the ElementGroupPrototype from the IDataObject can be merged into the target ModelElement. Otherwise, false.
Show: