Share via


OleDataObject Constructor (IDataObject)

Initializes a new instance of OleDataObject for the specified object implementing IDataObject.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Sub New ( _
    oleData As IDataObject _
)
public OleDataObject(
    IDataObject oleData
)
public:
OleDataObject(
    IDataObject^ oleData
)
new : 
        oleData:IDataObject -> OleDataObject
public function OleDataObject(
    oleData : IDataObject
)

Parameters

.NET Framework Security

See Also

Reference

OleDataObject Class

OleDataObject Overload

Microsoft.VisualStudio.Shell Namespace