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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기