Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SectionHeader Struct

Definition

Namespace:
System.Reflection.PortableExecutable
Assembly:
System.Reflection.Metadata.dll
Package:
System.Reflection.Metadata v11.0.0-preview.5.26302.115
Source:
SectionHeader.cs
Source:
SectionHeader.cs
Source:
SectionHeader.cs
Source:
SectionHeader.cs
Source:
SectionHeader.cs
Source:
SectionHeader.cs
Source:
SectionHeader.cs

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.

Provides information about the section header of a PE/COFF file.

public value class SectionHeader
public struct SectionHeader
public readonly struct SectionHeader
type SectionHeader = struct
Public Structure SectionHeader
Inheritance
SectionHeader

Properties

Name Description
Name

Gets the name of the section.

NumberOfLineNumbers

Gets the number of line-number entries for the section.

NumberOfRelocations

Gets the number of relocation entries for the section.

PointerToLineNumbers

Gets the file pointer to the beginning of line-number entries for the section.

PointerToRawData

Gets the file pointer to the first page of the section within the COFF file.

PointerToRelocations

Gets the file pointer to the beginning of relocation entries for the section.

SectionCharacteristics

Gets the flags that describe the characteristics of the section.

SizeOfRawData

Gets the size of the section (for object files) or the size of the initialized data on disk (for image files).

VirtualAddress

Gets the virtual addess of the section.

VirtualSize

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

Applies to


Feedback

Was this page helpful?