다음을 통해 공유


DragDropHelper.ConvertToOleDataObject Method

Creates a new IDataObject given a IDataObject.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

‘선언
Public Shared Function ConvertToOleDataObject ( _
    source As IDataObject _
) As IDataObject
‘사용 방법
Dim source As IDataObject
Dim returnValue As IDataObject

returnValue = DragDropHelper.ConvertToOleDataObject(source)
public static IDataObject ConvertToOleDataObject(
    IDataObject source
)
public:
static IDataObject^ ConvertToOleDataObject(
    IDataObject^ source
)
static member ConvertToOleDataObject : 
        source:IDataObject -> IDataObject 
public static function ConvertToOleDataObject(
    source : IDataObject
) : IDataObject

Parameters

Return Value

Type: Microsoft.VisualStudio.OLE.Interop.IDataObject

.NET Framework Security

See Also

Reference

DragDropHelper Class

DragDropHelper Members

Microsoft.VisualStudio.PlatformUI Namespace