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

适用于