Compartir a través de


IVsTypeLibraryWrapperCallback Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Allows the wrapper tools to communicate back to the project system and retrieve already existing wrappers for a given type library.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("AFF2B95E-229B-4A14-A422-E99452AD2F8C")> _
Public Interface IVsTypeLibraryWrapperCallback
[InterfaceTypeAttribute()]
[GuidAttribute("AFF2B95E-229B-4A14-A422-E99452AD2F8C")]
public interface IVsTypeLibraryWrapperCallback
[InterfaceTypeAttribute()]
[GuidAttribute(L"AFF2B95E-229B-4A14-A422-E99452AD2F8C")]
public interface class IVsTypeLibraryWrapperCallback
[<InterfaceTypeAttribute()>]
[<GuidAttribute("AFF2B95E-229B-4A14-A422-E99452AD2F8C")>]
type IVsTypeLibraryWrapperCallback =  interface end
public interface IVsTypeLibraryWrapperCallback

The IVsTypeLibraryWrapperCallback type exposes the following members.

Methods

  Name Description
Public method GetAssembly Infrastructure. Returns a path to an assembly if the assembly is referenced. If the assembly is not referenced, returns an error code.
Public method GetComClassic Infrastructure. Returns a COM classic TLIBATTR wrapper structure for a given type library and wrapper tool combination.
Public method GetComClassicByTypeLibName Infrastructure. Returns a COM classic wrapper name for a given type library and wrapper tool combination.

Top

Remarks

Use this interface to communicate back to the project system and retrieve already existing wrappers for a given type library. For example, if type library 'A' depends on type library 'B' and you call IVsTypeLibraryWrapper::WrapTypeLibrary(A), the wrapper tool will call back via IVsTypeLibraryWrapperCallBack to inquire if the project system already knows of a suitable wrapper for type library 'B'.

Notes to Implementers

Implement this interface when consuming wrapper tools.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace