TypeLibImporterFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates how an assembly should be produced.
This enumeration supports a bitwise combination of its member values.
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
- Inheritance
- Attributes
Fields
ImportAsAgnostic | 2048 | Imports a type library for any platform. |
ImportAsArm | 16384 | Imports a library for the ARM platform. |
ImportAsItanium | 1024 | Imports a type library for the Itanium platform. |
ImportAsX64 | 512 | Imports a type library for the x86 64-bit platform. |
ImportAsX86 | 256 | Imports a type library for the x86 platform. |
NoDefineVersionResource | 8192 | Prevents inclusion of a version resource in the interop assembly. For more information, see the DefineVersionInfoResource() method. |
None | 0 | No special settings. This is the default. |
PreventClassMembers | 16 | Not used. |
PrimaryInteropAssembly | 1 | Generates a primary interop assembly. For more information, see the PrimaryInteropAssemblyAttribute attribute. A keyfile must be specified. |
ReflectionOnlyLoading | 4096 | Uses reflection-only loading. |
SafeArrayAsSystemArray | 4 | Imports all |
SerializableValueClasses | 32 | Uses serializable classes. |
TransformDispRetVals | 8 | Transforms |
UnsafeInterfaces | 2 | Imports all interfaces as interfaces that suppress the common language runtime's stack crawl for UnmanagedCode permission. Be sure you understand the responsibilities associated with suppressing this security check. |
Remarks
This enumeration is used with the TypeLibConverter.ConvertTypeLibToAssembly method.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기