IVsDataViewDragSourceProvider.GetAllowedEffects Method
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.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Déclaration
Function GetAllowedEffects ( _
dataObject As IDataObject _
) As DragDropEffects
DragDropEffects GetAllowedEffects(
IDataObject dataObject
)
DragDropEffects GetAllowedEffects(
IDataObject^ dataObject
)
abstract GetAllowedEffects :
dataObject:IDataObject -> DragDropEffects
function GetAllowedEffects(
dataObject : IDataObject
) : DragDropEffects
Parameters
- dataObject
Type: System.Windows.Forms.IDataObject
An IDataObject object containing a copy of the information to be transferred.
Return Value
Type: System.Windows.Forms.DragDropEffects
A DragDropEffects object containing the allowed drag-and-drop effects, such as whether the data is copied, moved, or linked.
.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.
See Also
Reference
IVsDataViewDragSourceProvider Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace