Modifier

Partager via


AxImporter.GenerateFromTypeLibrary Method

Definition

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.

clsid
Guid

The Guid for the control wrapper.

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