PEAPI

ModuleRef.AddVarArgMethod Method 

Add a vararg 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
optional param types for this vararg method

Return Value

a descriptor for this method

See Also

ModuleRef Class | ModuleRef Members | PEAPI Namespace