AxImporter.GenerateFromFile(FileInfo) 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.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.