PEHeader.FileAlignment 屬性

定義

取得用於對齊影像檔案中各區段原始資料的對齊因子(以位元組為單位)。

public:
 property int FileAlignment { int get(); };
public int FileAlignment { get; }
member this.FileAlignment : int
Public ReadOnly Property FileAlignment As Integer

屬性值

在512到64K之間,是2的冪次方。 預設值為 512。

備註

若 小 SectionAlignment 於架構的頁面大小,則 FileAlignment 必須與 相符 SectionAlignment

適用於