共用方式為


IExtendedObject Interface

Definition

Gives access to the inner object of an extended object. An example of an extended object is an object inside a container where the container provides additional properties for the object, such as Top or Left for position on a form.

public interface class IExtendedObject
public interface class IExtendedObject
__interface IExtendedObject
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("A575C060-5B17-11D1-AB3E-00A0C9055A90")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IExtendedObject
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("A575C060-5B17-11D1-AB3E-00A0C9055A90")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IExtendedObject
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("A575C060-5B17-11D1-AB3E-00A0C9055A90")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IExtendedObject = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("A575C060-5B17-11D1-AB3E-00A0C9055A90")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IExtendedObject = interface
Public Interface IExtendedObject
Attributes

Remarks

You can create type libraries for extended objects. For more information see IExtendedTypeLib.

Methods

GetInnerObject(Guid, IntPtr)

Retrieves the inner object corresponding to a GUID.

Applies to