Partager via


IExtendedTypeLib Interface

Creates and manages a type library for 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. The compound object can be treated as a single, extended object with the extended type library.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("6D5140D6-7436-11CE-8034-00AA006009FA")> _
Public Interface IExtendedTypeLib
[InterfaceTypeAttribute()]
[GuidAttribute("6D5140D6-7436-11CE-8034-00AA006009FA")]
public interface IExtendedTypeLib
[InterfaceTypeAttribute()]
[GuidAttribute(L"6D5140D6-7436-11CE-8034-00AA006009FA")]
public interface class IExtendedTypeLib
[<InterfaceTypeAttribute()>]
[<GuidAttribute("6D5140D6-7436-11CE-8034-00AA006009FA")>]
type IExtendedTypeLib =  interface end
public interface IExtendedTypeLib

The IExtendedTypeLib type exposes the following members.

Methods

  Name Description
Public method AddRefExtendedTypeLib Creates an extended type library and returns a reference counted (AddRef) interface to it.
Public method AddRefExtendedTypeLibOfClsid Creates an ITypeInfo interface for an extended type and returns a reference counted (AddRef) interface to it. Uses the CLSID of the type being extended.
Public method CreateExtendedTypeLib Creates an ITypeLib interface for an extended type. The interface is not reference counted. The client must handle reference counting.
Public method SetExtenderInfo Sets the information for the extending type in the extended type library.

Top

Remarks

You can get an instance of the interface using the SExtendedTypeLib (SID_SExtendedTypeLib) service.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace