共用方式為


CorPEKind

更新:2007 年 11 月

包含值,這個值會描述 IMetaDataImport2::GetPEKind 的呼叫所傳回的可攜式執行檔 (PE)。

typedef enum CorPEKind {
        
    peNot           = 0x00000000,
    peILonly        = 0x00000001,
    pe32BitRequired = 0x00000002,
    pe32Plus        = 0x00000004,
    pe32Unmanaged   = 0x00000008
        
} CorPEKind;

成員

成員

描述

peNot

表示這不是 PE 檔。

peILOnly

表示此 PE 檔只包含 Managed 程式碼。

pe32BitRequired

表示此 PE 檔會進行 Win32 的呼叫。

pe32Plus

表示此 PE 檔會在 64 位元平台上執行。

pe32Unmanaged

表示此 PE 檔為機器碼。

備註

這些值可用於位元 (Bitwise) 組合中。

需求

**平台:**請參閱 .NET Framework 系統需求

**標頭:**CorHdr.h

**.NET Framework 版本:**3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0

請參閱

其他資源

中繼資料列舉型別