Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Contains flag values that control the behavior during importation of an assembly outside the current scope.
Syntax
typedef enum CorImportOptions {
MDImportOptionDefault = 0x00000000,
MDImportOptionAll = 0xFFFFFFFF,
MDImportOptionAllTypeDefs = 0x00000001,
MDImportOptionAllMethodDefs = 0x00000002,
MDImportOptionAllFieldDefs = 0x00000004,
MDImportOptionAllProperties = 0x00000008,
MDImportOptionAllEvents = 0x00000010,
MDImportOptionAllCustomAttributes = 0x00000020,
MDImportOptionAllExportedTypes = 0x00000040
} CorImportOptions;
Members
| Member | Description |
|---|---|
MDImportOptionDefault |
Indicates the default behavior, which is to skip deleted records. |
MDImportOptionAll |
Indicates that all metadata should be enumerated. |
MDImportOptionAllTypeDefs |
Indicates that all TypeDefs, including deleted ones, should be enumerated. |
MDImportOptionAllMethodDefs |
Indicates that all MethodDefs, including deleted ones, should be enumerated. |
MDImportOptionAllFieldDefs |
Indicates that all FieldDefs, including deleted ones, should be enumerated. |
MDImportOptionAllProperties |
Indicates that all PropertyDefs, including deleted ones, should be enumerated. |
MDImportOptionAllEvents |
Indicates that all EventDefs, including deleted ones, should be enumerated. |
MDImportOptionAllCustomAttributes |
Indicates that all custom attributes, including deleted ones, should be enumerated. |
MDImportOptionAllExportedTypes |
Indicates that all exported types, including deleted ones, should be enumerated. |
Requirements
Platforms: See .NET supported operating systems.
Header: CorHdr.h
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.