Freigeben über


IOleObject Interface

Enables an embedded object to provide basic functionality to its container. For information, see IOleObject.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
<GuidAttribute("00000112-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface IOleObject
[GuidAttribute("00000112-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface IOleObject
[GuidAttribute(L"00000112-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface class IOleObject
[<GuidAttribute("00000112-0000-0000-C000-000000000046")>]
[<InterfaceTypeAttribute()>]
type IOleObject =  interface end
public interface IOleObject

The IOleObject type exposes the following members.

Methods

  Name Description
Public method Advise
Public method Close
Public method DoVerb
Public method EnumAdvise
Public method EnumVerbs
Public method GetClientSite
Public method GetClipboardData
Public method GetExtent
Public method GetMiscStatus
Public method GetMoniker
Public method GetUserClassID
Public method GetUserType
Public method InitFromData
Public method IsUpToDate
Public method SetClientSite
Public method SetColorScheme
Public method SetExtent
Public method SetHostNames
Public method SetMoniker
Public method Unadvise
Public method Update

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace