TypeLibImporterFlags Enumeration

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.InteropServices
Assembly: mscorlib (in mscorlib.dll)

public enum TypeLibImporterFlags
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute FlagsAttribute() */ 
public enum TypeLibImporterFlags
public enum TypeLibImporterFlags

 Member nameDescription
ImportAsAgnosticImports a type library for any platform. 
ImportAsItaniumImports a type library for the Itanuim platform. 
ImportAsX64Imports a type library for the X86 64 bit platform. 
ImportAsX86Imports a type library for the X86 platform. 
NoneSpecifies no flags. This is the default. 
PreventClassMembersNot used. 
PrimaryInteropAssemblyGenerates a primary interop assembly. See PrimaryInteropAssemblyAttribute for details. A keyfile must be specified. 
ReflectionOnlyLoadingSpecifies the use of reflection only loading. 
SafeArrayAsSystemArrayImports 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. 
SerializableValueClassesSpecifies the use of serailizable classes. 
TransformDispRetValsTransforms [out, retval] parameters of methods on dispatch-only interfaces (dispinterfaces) into return values. 
UnsafeInterfacesImports 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. 

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0