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
'宣言
Function CreateDataObject As IDataObject
'使用
Dim instance As IVsDataViewDragSourceProvider
Dim returnValue As IDataObject
returnValue = instance.CreateDataObject()
IDataObject CreateDataObject()
IDataObject^ CreateDataObject()
function CreateDataObject() : IDataObject
Return Value
Type: System.Windows.Forms.IDataObject
An IDataObject object containing a copy of the information to be transferred.
Permissions
- 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
IVsDataViewDragSourceProvider Members
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace