SectionHeader.VirtualAddress Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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..