Share via


IVsDataViewDragSourceProvider.CreateDataObject Method

When implemented by a class, creates a data object that contains a copy of the dragged node and that will be stored in the Clipboard.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function CreateDataObject As IDataObject
IDataObject CreateDataObject()
IDataObject^ CreateDataObject()
abstract CreateDataObject : unit -> IDataObject
function CreateDataObject() : IDataObject

Return Value

Type: System.Windows.Forms.IDataObject
An IDataObject object containing a copy of the information to be transferred.

.NET Framework Security

See Also

Reference

IVsDataViewDragSourceProvider Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace