ImageFileMachine 列舉

定義

識別可執行檔的目標平台。

public enum class ImageFileMachine
public enum ImageFileMachine
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum ImageFileMachine
type ImageFileMachine = 
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type ImageFileMachine = 
Public Enum ImageFileMachine
繼承
ImageFileMachine
屬性

欄位

AMD64 34404

以 64 位元的 AMD 處理器為目標。

ARM 452

以 ARM 處理器為目標。

I386 332

以 32 位元的 Intel 處理器為目標。

IA64 512

以 64 位元的 Intel 處理器為目標。

備註

若要取得模組的這個值,請使用 Module.GetPEKind 方法。

注意

這個列舉中的值會對應至 Unmanaged 函式所存取之 Unmanaged GetPEKind Windows API 中的常數IMAGE_FILE_MACHINE_I386、IMAGE_FILE_MACHINE_IA64和IMAGE_FILE_MACHINE_AMD64。

適用於