Partager via


OleDataObject Constructor (IDataObject)

Initializes a new instance of OleDataObject for the specified IDataObject.

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

Syntax

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

Parameters

  • comData
    Type: IDataObject

    The underlying IDataObject.

.NET Framework Security

See Also

Reference

OleDataObject Class

OleDataObject Overload

Microsoft.VisualStudio.Shell Namespace