internal static string GetNameOfMethod(ComTypes.ITypeInfo typeInfo, int memid) { int cNames; string[] rgNames = new string[1]; typeInfo.GetNames(memid, rgNames, 1, out cNames); return rgNames[0]; }