OleDataObject Constructor (IDataObject)
Initializes a new instance of OleDataObject for the specified IDataObject.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
winData As IDataObject _
)
public OleDataObject(
IDataObject winData
)
public:
OleDataObject(
IDataObject^ winData
)
new :
winData:IDataObject -> OleDataObject
public function OleDataObject(
winData : IDataObject
)
Parameters
winData
Type: System.Windows.Forms.IDataObjectThe 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.