Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TypeLibImporterFlags Enumeration

Indicates how an assembly should be produced.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
<Serializable>
Public Enum TypeLibImporterFlags
[C#]
[Flags]
[Serializable]
public enum TypeLibImporterFlags
[C++]
[Flags]
[Serializable]
__value public enum TypeLibImporterFlags
[JScript]
public
   Flags
 Serializable
enum TypeLibImporterFlags

Remarks

Used with ConvertTypeLibToAssembly.

Members

Member name Description Value
PrimaryInteropAssembly Generates a primary interop assembly. See PrimaryInteropAssemblyAttribute for details. A keyfile must be specified. 1
SafeArrayAsSystemArray Imports all SAFEARRAY s a System.Array rather than a typed, single dimenional, zero-based managed array. This option is useful when dealing with multi dimensional, non zero-based SAFEARRAY s which otherwise can not be accessed unless you edit the resulting assembly using the ILDASM and ILASM tools. 4
TransformDispRetVals 8
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. 2

Requirements

Namespace: System.Runtime.InteropServices

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

System.Runtime.InteropServices Namespace

Show:
© 2017 Microsoft