Partilhar via


IOleObject Interface

Definition

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

public interface class IOleObject
public interface class IOleObject
__interface IOleObject
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("00000112-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IOleObject
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("00000112-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IOleObject
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("00000112-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IOleObject = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("00000112-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IOleObject = interface
Public Interface IOleObject
Attributes

Methods

Advise(IAdviseSink, UInt32)
Close(UInt32)
DoVerb(Int32, MSG[], IOleClientSite, Int32, IntPtr, RECT[])
EnumAdvise(IEnumSTATDATA)
EnumVerbs(IEnumOLEVERB)
GetClientSite(IOleClientSite)
GetClipboardData(UInt32, IDataObject)
GetExtent(UInt32, SIZEL[])
GetMiscStatus(UInt32, UInt32)
GetMoniker(UInt32, UInt32, IMoniker)
GetUserClassID(Guid)
GetUserType(UInt32, IntPtr)
InitFromData(IDataObject, Int32, UInt32)
IsUpToDate()
SetClientSite(IOleClientSite)
SetColorScheme(LOGPALETTE[])
SetExtent(UInt32, SIZEL[])
SetHostNames(String, String)
SetMoniker(UInt32, IMoniker)
Unadvise(UInt32)
Update()

Applies to