Add a "global" method to this module
[Visual Basic]
Overloads Public Function AddMethod( _
ByVal mAtts As PEAPI.MethAttr, _
ByVal iAtts As PEAPI.ImplAttr, _
ByVal name As String, _
ByVal retType As PEAPI.Type, _
ByVal pars As PEAPI.Param() _
) As PEAPI.MethodDef
[C#]
public MethodDef AddMethod(
MethAttr mAtts,
ImplAttr iAtts,
string name,
Type retType,
Param[] pars
);
a descriptor for this new "global" method
PEFile Class | PEFile Members | PEAPI Namespace | PEFile.AddMethod Overload List