PEHeader.SizeOfCode 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 size of the code (text) section, or the sum of all code sections if there are multiple sections.
public:
 property int SizeOfCode { int get(); };public int SizeOfCode { get; }member this.SizeOfCode : intPublic ReadOnly Property SizeOfCode As IntegerProperty Value
the size of the code (text) section, or the sum of all code sections if there are multiple sections.