IVsDataViewDragSourceProvider.GetAllowedEffects(IDataObject) 方法

定義

由類別所執行時,會在資料檢視中拖曳節點時(例如複製、移動或連結),抓取允許的拖放效果。

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

參數

dataObject
IDataObject

IDataObject物件,其中包含要傳送之資訊的複本。

傳回

DragDropEffects

DragDropEffects物件,其中包含允許的拖放效果,例如資料是否複製、移動或連結。

適用於