This documentation is archived and is not being maintained.
TypeLibImporterFlags Enumeration
Visual Studio 2008
Indicates how an assembly should be produced.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Runtime.InteropServicesAssembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
| None | Specifies no flags. This is the default. | |
| PrimaryInteropAssembly | Generates a primary interop assembly. See PrimaryInteropAssemblyAttribute for details. A keyfile must be specified. | |
| UnsafeInterfaces | Imports all interfaces as interfaces that suppress the common language runtime's stack crawl for SecurityPermissionFlag.UnmanagedCode permission. Be sure you understand the responsibilities associated with suppressing this security check. | |
| SafeArrayAsSystemArray | Imports all SAFEARRAYs as System.Array rather than a typed, single dimensional, zero-based managed array. This option is useful when dealing with multi dimensional, non zero-based SAFEARRAYs which otherwise can not be accessed unless you edit the resulting assembly using the ILDASM and ILASM tools. | |
| TransformDispRetVals | Transforms [out, retval] parameters of methods on dispatch-only interfaces (dispinterfaces) into return values. | |
| PreventClassMembers | Not used. | |
| SerializableValueClasses | Specifies the use of serailizable classes. | |
| ImportAsX86 | Imports a type library for the X86 platform. | |
| ImportAsX64 | Imports a type library for the X86 64 bit platform. | |
| ImportAsItanium | Imports a type library for the Itanuim platform. | |
| ImportAsAgnostic | Imports a type library for any platform. | |
| ReflectionOnlyLoading | Specifies the use of reflection only loading. |
Used with ConvertTypeLibToAssembly.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: