PEHeaderBuilder.FileAlignment 属性

定义

用于使映像文件中各部分的原始数据一致的对齐系数(以字节为单位)。The alignment factor (in bytes) that is used to align the raw data of sections in the image file. 该值应为 2 的幂次方,界于 512 和 64K 之间(含)。The value should be a power of 2 between 512 and 64K, inclusive. 默认值为 512。The default is 512. 如果该部分的对齐量小于体系结构的页面大小,则文件的对齐量必须与部分的对齐值匹配。If the section alignment is less than the architecture's page size, then file alignment must match the section alignment.

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

属性值

Int32

适用于