SectionHeader.VirtualSize Property

Definition

Gets the total size of the section when loaded into memory.

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

Property Value

The total size of the section when loaded into memory.

Remarks

If the VirtualSize property value is greater than <xref:System.Reflection.PortableExecutable.SectionHeader.SizeOfRawData, the section is zero-padded. This field is valid only for PE images and should be set to zero for object files.

Applies to