AxImporter.GenerateFromTypeLibrary Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates a wrapper for an ActiveX control for use in the design-time environment.
Overloads
GenerateFromTypeLibrary(UCOMITypeLib) |
Generates a wrapper for an ActiveX control for use in the design-time environment. |
GenerateFromTypeLibrary(UCOMITypeLib, Guid) |
Generates a wrapper for an ActiveX control for use in the design-time environment. |
GenerateFromTypeLibrary(UCOMITypeLib)
Generates a wrapper for an ActiveX control for use in the design-time environment.
public:
System::String ^ GenerateFromTypeLibrary(System::Runtime::InteropServices::UCOMITypeLib ^ typeLib);
public string GenerateFromTypeLibrary (System.Runtime.InteropServices.UCOMITypeLib typeLib);
member this.GenerateFromTypeLibrary : System.Runtime.InteropServices.UCOMITypeLib -> string
Public Function GenerateFromTypeLibrary (typeLib As UCOMITypeLib) As String
Parameters
- typeLib
- UCOMITypeLib
A UCOMITypeLib that indicates the type library to generate the control from.
Returns
An assembly qualified name for the type of ActiveX control for which a wrapper was generated.
Exceptions
No registered ActiveX control was found in typeLib
.
See also
Applies to
GenerateFromTypeLibrary(UCOMITypeLib, Guid)
Generates a wrapper for an ActiveX control for use in the design-time environment.
public:
System::String ^ GenerateFromTypeLibrary(System::Runtime::InteropServices::UCOMITypeLib ^ typeLib, Guid clsid);
public string GenerateFromTypeLibrary (System.Runtime.InteropServices.UCOMITypeLib typeLib, Guid clsid);
member this.GenerateFromTypeLibrary : System.Runtime.InteropServices.UCOMITypeLib * Guid -> string
Public Function GenerateFromTypeLibrary (typeLib As UCOMITypeLib, clsid As Guid) As String
Parameters
- typeLib
- UCOMITypeLib
A UCOMITypeLib that indicates the type library to generate the control from.
Returns
An assembly qualified name for the type of ActiveX control for which a wrapper was generated.
Exceptions
No registered ActiveX control was found in typeLib
.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin