다음을 통해 공유


IVsDataViewDragSourceProvider.GetAllowedEffects(IDataObject) Method

Definition

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.

Applies to