PERWAPI.ReferenceScope.AddVarArgMethod C# (CSharp) Method

AddVarArgMethod() public method

Fetch a MethodRef descriptor for the method "retType name (pars, optPars)". If one exists, it is returned, else one is created.
public AddVarArgMethod ( string name, Type retType, Type pars, Type optPars ) : MethodRef
name string method name
retType Type return type
pars Type parameter types
optPars Type optional param types for this vararg method
return MethodRef
        public MethodRef AddVarArgMethod(string name, Type retType, Type[] pars, Type[] optPars)
        {
            MethodRef meth = defaultClass.AddVarArgMethod(name,retType,pars,optPars);
            return meth;
        }