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。