PEHeader.FileAlignment 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得用於對齊影像檔案中各區段原始資料的對齊因子(以位元組為單位)。
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。