IVsDataViewDragSourceProvider.GetAllowedEffects(IDataObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented by a class, retrieves the allowed drag-and-drop effects when a node is dragged in the data view, such as copying, moving, or linking.
public:
System::Windows::Forms::DragDropEffects GetAllowedEffects(System::Windows::Forms::IDataObject ^ dataObject);
public System.Windows.Forms.DragDropEffects GetAllowedEffects (System.Windows.Forms.IDataObject dataObject);
abstract member GetAllowedEffects : System.Windows.Forms.IDataObject -> System.Windows.Forms.DragDropEffects
Public Function GetAllowedEffects (dataObject As IDataObject) As DragDropEffects
Parameters
- dataObject
- IDataObject
An IDataObject object containing a copy of the information to be transferred.
Returns
A DragDropEffects object containing the allowed drag-and-drop effects, such as whether the data is copied, moved, or linked.