편집

다음을 통해 공유


AxImporter.GenerateFromFile(FileInfo) Method

Definition

Generates a wrapper for an ActiveX control for use in the design-time environment.

public:
 System::String ^ GenerateFromFile(System::IO::FileInfo ^ file);
public string GenerateFromFile (System.IO.FileInfo file);
member this.GenerateFromFile : System.IO.FileInfo -> string
Public Function GenerateFromFile (file As FileInfo) As String

Parameters

file
FileInfo

A FileInfo indicating the file that contains the control.

Returns

An assembly qualified name for the type of ActiveX control for which a wrapper was generated.

Exceptions

A type library could not be loaded from file.

Applies to