PEAPI

ClassRef.AddVarArgMethod Method 

Add a method to this class

[Visual Basic]
Public Function AddVarArgMethod( _
   ByVal name As String, _
   ByVal retType As PEAPI.Type, _
   ByVal pars As PEAPI.Type(), _
   ByVal optPars As PEAPI.Type() _
) As PEAPI.MethodRef
[C#]
public MethodRef AddVarArgMethod(
   string name,
   Type retType,
   Type[] pars,
   Type[] optPars
);

Parameters

name
method name
retType
return type
pars
parameter types
optPars

Return Value

a descriptor for this method

See Also

ClassRef Class | ClassRef Members | PEAPI Namespace