Partager via


OleDataObject Class

Provides a managed class that implements the IOleDataObject interface.

This API is not CLS-compliant. The CLS-compliant alternative is [None].

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
<CLSCompliantAttribute(False)> _
Public Class OleDataObject _
    Inherits DataObject _
    Implements IDataObject
'Utilisation
Dim instance As OleDataObject
[CLSCompliantAttribute(false)]
public class OleDataObject : DataObject, 
    IDataObject
[CLSCompliantAttribute(false)]
public ref class OleDataObject : public DataObject, 
    IDataObject
[<CLSCompliantAttribute(false)>]
type OleDataObject =  
    class
        inherit DataObject
        interface IDataObject
    end
public class OleDataObject extends DataObject implements IDataObject

Inheritance Hierarchy

System.Object
  System.Windows.Forms.DataObject
    Microsoft.VisualStudio.Shell.OleDataObject

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

OleDataObject Members

Microsoft.VisualStudio.Shell Namespace