AxImporter.GenerateFromFile(FileInfo) Método
Definição
Gera um wrapper para um controle ActiveX para uso no ambiente de tempo de design.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
Parâmetros
- file
- FileInfo
Um FileInfo indicando o arquivo que contém o controle.A FileInfo indicating the file that contains the control.
Retornos
Um nome de assembly qualificado para o tipo de controle ActiveX para o qual um wrapper foi gerado.An assembly qualified name for the type of ActiveX control for which a wrapper was generated.
Exceções
Não foi possível carregar uma biblioteca de tipos de file.A type library could not be loaded from file.