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
- source
Type: System.Windows.IDataObject
Return Value
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject
.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.