OleDataObject Constructor (IDataObject)
Initializes a new instance of OleDataObject for the specified IDataObject.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Sub New ( _
comData As IDataObject _
)
'Utilisation
Dim comData As IDataObject
Dim instance As New OleDataObject(comData)
public OleDataObject(
IDataObject comData
)
public:
OleDataObject(
IDataObject^ comData
)
new :
comData:IDataObject -> OleDataObject
public function OleDataObject(
comData : IDataObject
)
Parameters
- comData
Type: System.Runtime.InteropServices.ComTypes.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.