Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

202 lines
10 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="AxImporter" FullName="System.Windows.Forms.Design.AxImporter">
<TypeSignature Language="C#" Value="public class AxImporter" />
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>To generate an ActiveX wrapper for an ActiveX control, first create or obtain an instance of the <see cref="T:System.Windows.Forms.Design.AxImporter" /> class. The <see cref="T:System.Windows.Forms.Design.AxImporter" /> constructor accepts an <see cref="T:System.Windows.Forms.Design.AxImporter.Options" /> object, which sets options for the importer, such as the filename for the wrapper .dll to generate and the output directory to generate the wrapper to. To generate the ActiveX wrapper, call the appropriate Generate method. To generate from a file, call <see cref="M:System.Windows.Forms.Design.AxImporter.GenerateFromFile(System.IO.FileInfo)" />. To generate from a type library, call <see cref="M:System.Windows.Forms.Design.AxImporter.GenerateFromTypeLibrary(System.Runtime.InteropServices.UCOMITypeLib)" />. The string that is returned will consist of an assembly qualified name (example: "Namespace.Type,Assembly") for the type an ActiveX wrapper was generated for. The wrapper for the ActiveX control will be generated in the .dll file specified in the <see cref="F:System.Windows.Forms.Design.AxImporter.Options.outputName" /> property of the <see cref="T:System.Windows.Forms.Design.AxImporter.Options" /> passed to the <see cref="T:System.Windows.Forms.Design.AxImporter" /> constructor. The type can be loaded or queried using <see cref="N:System.Reflection" /> and treated as an ordinary managed type. You can also call the GetOcx method of the type to retrieve a COM interface to the object, if the object supports this.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Imports ActiveX controls and generates a wrapper that can be accessed by a designer.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AxImporter (System.Windows.Forms.Design.AxImporter.Options options);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="options" Type="System.Windows.Forms.Design.AxImporter+Options" />
</Parameters>
<Docs>
<param name="options">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GeneratedAssemblies">
<MemberSignature Language="C#" Value="public string[] GeneratedAssemblies { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String[]</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the names of the assemblies that are generated for the control.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GeneratedSources">
<MemberSignature Language="C#" Value="public string[] GeneratedSources { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String[]</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the names of the source files that were generated.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GeneratedTypeLibAttributes">
<MemberSignature Language="C#" Value="public System.Runtime.InteropServices.TYPELIBATTR[] GeneratedTypeLibAttributes { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Runtime.InteropServices.TYPELIBATTR[]</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the attributes for the generated type library.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GenerateFromFile">
<MemberSignature Language="C#" Value="public string GenerateFromFile (System.IO.FileInfo file);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="file" Type="System.IO.FileInfo" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Generates a wrapper for an ActiveX control for use in the design-time environment.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An assembly qualified name for the type of ActiveX control for which a wrapper was generated.</para>
</returns>
<param name="file">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.IO.FileInfo" /> indicating the file that contains the control. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GenerateFromTypeLibrary">
<MemberSignature Language="C#" Value="public string GenerateFromTypeLibrary (System.Runtime.InteropServices.UCOMITypeLib typeLib);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="typeLib" Type="System.Runtime.InteropServices.UCOMITypeLib" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Generates a wrapper for an ActiveX control for use in the design-time environment.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An assembly qualified name for the type of ActiveX control for which a wrapper was generated.</para>
</returns>
<param name="typeLib">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Runtime.InteropServices.UCOMITypeLib" /> that indicates the type library to generate the control from. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GenerateFromTypeLibrary">
<MemberSignature Language="C#" Value="public string GenerateFromTypeLibrary (System.Runtime.InteropServices.UCOMITypeLib typeLib, Guid clsid);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="typeLib" Type="System.Runtime.InteropServices.UCOMITypeLib" />
<Parameter Name="clsid" Type="System.Guid" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Generates a wrapper for an ActiveX control for use in the design-time environment.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An assembly qualified name for the type of ActiveX control for which a wrapper was generated.</para>
</returns>
<param name="typeLib">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Runtime.InteropServices.UCOMITypeLib" /> that indicates the type library to generate the control from. </param>
<param name="clsid">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Guid" /> for the control wrapper. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GetFileOfTypeLib">
<MemberSignature Language="C#" Value="public static string GetFileOfTypeLib (ref System.Runtime.InteropServices.TYPELIBATTR tlibattr);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="tlibattr" Type="System.Runtime.InteropServices.TYPELIBATTR&amp;" RefType="ref" />
</Parameters>
<Docs>
<param name="tlibattr">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>