Table of Contents

Class PESectionCollection

Namespace
AsmResolver.PE.File
Assembly
AsmResolver.PE.File.dll

Represents a collection of sections stored in a portable executable file.

public class PESectionCollection : Collection<PESection>, IList<PESection>, ICollection<PESection>, IList, ICollection, IReadOnlyList<PESection>, IReadOnlyCollection<PESection>, IEnumerable<PESection>, IEnumerable
Inheritance
PESectionCollection
Implements
Inherited Members

Constructors

PESectionCollection(PEFile)

Creates a new instance of the PESectionCollection class.

public PESectionCollection(PEFile owner)

Parameters

owner PEFile

The owner of the sections.

Properties

Owner

Gets the PE file containing the sections.

public PEFile Owner { get; }

Property Value

PEFile

Methods

ClearItems()

protected override void ClearItems()

InsertItem(int, PESection)

protected override void InsertItem(int index, PESection item)

Parameters

index int
item PESection

RemoveItem(int)

protected override void RemoveItem(int index)

Parameters

index int

SetItem(int, PESection)

protected override void SetItem(int index, PESection item)

Parameters

index int
item PESection