Share via


IVsTypeLibraryWrapper Interface

Definition

This interface is implemented by all wrapping tools.

public interface class IVsTypeLibraryWrapper
public interface class IVsTypeLibraryWrapper
__interface IVsTypeLibraryWrapper
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("E6065B70-C9B6-4636-80F5-1CF92D7ECE5B")]
[System.Runtime.InteropServices.InterfaceType(1)]
[System.Runtime.InteropServices.TypeLibType(528)]
public interface IVsTypeLibraryWrapper
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("E6065B70-C9B6-4636-80F5-1CF92D7ECE5B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTypeLibraryWrapper
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("E6065B70-C9B6-4636-80F5-1CF92D7ECE5B")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
[<System.Runtime.InteropServices.TypeLibType(528)>]
type IVsTypeLibraryWrapper = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("E6065B70-C9B6-4636-80F5-1CF92D7ECE5B")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTypeLibraryWrapper = interface
Public Interface IVsTypeLibraryWrapper
Derived
Attributes

Remarks

Use the IVsTypeLibraryWrapper interface whenever you use one of the wrapping tools defined in Type Library Wrapper Tools.

Notes to Implementers

Implement this interface when you need to generate a standardized Visual Studio wrapper for COM components.

Methods

GetMainWrapperFilename(TLIBATTR[], String)

Gets the filename for a given type library.

GetMainWrapperFriendlyName(TLIBATTR[], String)

Gets the name that is displayed in the project system when the component is referred to.

NeedsRegeneration(TLIBATTR[], String, String, Int32, Int32, String, Int32)

Determines whether a given wrapper for a given type library needs to be regenerated.

WrapTypeLibrary(TLIBATTR[], String, String, String, Int32, IVsTypeLibraryWrapperCallback, IntPtr[], IntPtr[], IntPtr[], IntPtr[], UInt32)

Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.

Applies to