Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of OleDataObject for the specified object implementing IDataObject.
Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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
- oleData 
 Type: Microsoft.VisualStudio.OLE.Interop.IDataObject- The underlying 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.