C # cannot be written in a function of default parameters, but can call such a function, and obtain the method of obtaining the parameter default is to call Type.Missing. as follows:
Object Template = ""; Object missingValue = type.missing; app.documents.add (Ref template, ref missingvalue, ref missingvalue, ref missing);