This enumeration is used with the TypeLibConverter.ConvertTypeLibToAssembly(object, string, int, ITypeLibImporterNotifySink, Byte[], System.Reflection.StrongNameKeyPair, bool) method.
Member Name | Description |
---|---|
ImportAsAgnostic |
Imports a type library for any platform. |
ImportAsItanium |
Imports a type library for the Itanium platform. |
ImportAsX64 |
Imports a type library for the x86 64-bit platform. |
ImportAsX86 |
Imports a type library for the x86 platform. |
NoDefineVersionResource |
Prevents inclusion of a version resource in the interop assembly. For more information, see the System.Reflection.Emit.AssemblyBuilder.DefineVersionInfoResource method. |
None |
No special settings. This is the default. |
PreventClassMembers |
Not used. |
PrimaryInteropAssembly |
Generates a primary interop assembly. For more information, see the System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute attribute. A keyfile must be specified. |
ReflectionOnlyLoading |
Uses reflection-only loading. |
SafeArrayAsSystemArray |
Imports all SAFEARRAY instances as Array instead of typed, single-dimensional, zero-based managed arrays. This option is useful when dealing with multi-dimensional, non-zero-based SAFEARRAY instances, which otherwise cannot be accessed unless you edit the resulting assembly by using the MSIL Disassembler (Ildasm.exe) and MSIL Assembler (Ilasm.exe) tools. |
SerializableValueClasses |
Uses serializable classes. |
TransformDispRetVals |
Transforms [out, retval] parameters of methods on dispatch-only interfaces (dispinterface) into return values. |
UnsafeInterfaces |
Imports all interfaces as interfaces that suppress the common language runtime's stack crawl for System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode permission. Be sure you understand the responsibilities associated with suppressing this security check. |