Bewerken

Share via


SectionHeader.VirtualAddress Property

Definition

Gets the virtual addess of the section.

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

Property Value

The virtual address of the section.

Remarks

For PE images, the VirtualAddress is the address of the first byte of the section relative to the image base when the section is loaded into memory. For object files, it is the address of the first byte before relocation is applied; for simplicity, compilers should set this to zero. Otherwise, it is an arbitrary value that is subtracted from offsets during relocation..

Applies to