TypeLibImporterFlags Enumeration
.NET Framework 3.0
Indicates how an assembly should be produced.
Assembly: mscorlib (in mscorlib.dll)
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Runtime.InteropServicesAssembly: mscorlib (in mscorlib.dll)
'Declaration <SerializableAttribute> _ <ComVisibleAttribute(True)> _ <FlagsAttribute> _ Public Enumeration TypeLibImporterFlags 'Usage Dim instance As TypeLibImporterFlags
/** @attribute SerializableAttribute() */ /** @attribute ComVisibleAttribute(true) */ /** @attribute FlagsAttribute() */ public enum TypeLibImporterFlags
SerializableAttribute ComVisibleAttribute(true) FlagsAttribute public enum TypeLibImporterFlags
| Member name | Description | |
|---|---|---|
| ImportAsAgnostic | Imports a type library for any platform. | |
| ImportAsItanium | Imports a type library for the Itanuim platform. | |
| ImportAsX64 | Imports a type library for the X86 64 bit platform. | |
| ImportAsX86 | Imports a type library for the X86 platform. | |
| None | Specifies no flags. This is the default. | |
| PreventClassMembers | Not used. | |
| PrimaryInteropAssembly | Generates a primary interop assembly. See PrimaryInteropAssemblyAttribute for details. A keyfile must be specified. | |
| ReflectionOnlyLoading | Specifies the use of reflection only loading. | |
| 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. | |
| SerializableValueClasses | Specifies the use of serailizable classes. | |
| TransformDispRetVals | Transforms [out, retval] parameters of methods on dispatch-only interfaces (dispinterfaces) into return values. | |
| 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. |
Used with ConvertTypeLibToAssembly.
Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: