TypeLibImporterFlags Enumeración
Definición
Indica cómo se debe crear un ensamblado.Indicates how an assembly should be produced.
Esta enumeración tiene un atributo FlagsAttribute, que permite una combinación bit a bit de sus valores de miembro.
public enum class TypeLibImporterFlags
[System.Flags]
[System.Serializable]
public enum TypeLibImporterFlags
[System.Flags]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum TypeLibImporterFlags
[<System.Flags>]
[<System.Serializable>]
type TypeLibImporterFlags =
[<System.Flags>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type TypeLibImporterFlags =
Public Enum TypeLibImporterFlags
- Herencia
- Atributos
Campos
ImportAsAgnostic | 2048 | Importa una biblioteca de tipos para cualquier plataforma.Imports a type library for any platform. |
ImportAsArm | 16384 | Importa una biblioteca para la plataforma ARM.Imports a library for the ARM platform. |
ImportAsItanium | 1024 | Importa una biblioteca de tipos para la plataforma Itanium.Imports a type library for the Itanium platform. |
ImportAsX64 | 512 | Importa una biblioteca de tipos para la plataforma x86 de 64 bits.Imports a type library for the x86 64-bit platform. |
ImportAsX86 | 256 | Importa una biblioteca de tipos para la plataforma x86.Imports a type library for the x86 platform. |
NoDefineVersionResource | 8192 | Impide la inclusión de un recurso de versión en el ensamblado de interoperabilidad.Prevents inclusion of a version resource in the interop assembly. Para obtener más información, vea el método DefineVersionInfoResource().For more information, see the DefineVersionInfoResource() method. |
None | 0 | Ninguna configuración especial.No special settings. Este es el valor predeterminado.This is the default. |
PreventClassMembers | 16 | No se utiliza.Not used. |
PrimaryInteropAssembly | 1 | Genera un ensamblado de interoperabilidad primario.Generates a primary interop assembly. Para obtener más información vea el atributo PrimaryInteropAssemblyAttribute.For more information, see the PrimaryInteropAssemblyAttribute attribute. Se debe especificar la opción keyfile.A keyfile must be specified. |
ReflectionOnlyLoading | 4096 | Utiliza carga solo para reflexión.Uses reflection-only loading. |
SafeArrayAsSystemArray | 4 | Importa todas las instancias de |
SerializableValueClasses | 32 | Utiliza clases serializables.Uses serializable classes. |
TransformDispRetVals | 8 | Transforma los parámetros |
UnsafeInterfaces | 2 | Importa todas las interfaces como interfaces que suprimen el rastreo de pila de Common Language Runtime en busca del permiso UnmanagedCode.Imports all interfaces as interfaces that suppress the common language runtime's stack crawl for UnmanagedCode permission. Asegúrese de que comprende las implicaciones asociadas a la supresión de esta comprobación de seguridad.Be sure you understand the responsibilities associated with suppressing this security check. |
Comentarios
Esta enumeración se utiliza con el TypeLibConverter.ConvertTypeLibToAssembly método.This enumeration is used with the TypeLibConverter.ConvertTypeLibToAssembly method.