PEAPI

PEFile.AddField Method (FieldAttr, String, Type)

Add a "global" field to this module

[Visual Basic]
Overloads Public Function AddField( _
   ByVal attrSet As PEAPI.FieldAttr, _
   ByVal name As String, _
   ByVal fType As PEAPI.Type _
) As PEAPI.FieldDef
[C#]
public FieldDef AddField(
   FieldAttr attrSet,
   string name,
   Type fType
);

Parameters

attrSet
attributes of this field
name
field name
fType
field type

Return Value

a descriptor for this new "global" field

See Also

PEFile Class | PEFile Members | PEAPI Namespace | PEFile.AddField Overload List