Calling this[int index] via reflection
- by tkutter
I try to implement a reflection-based late-bound library to Microsoft Office.
The properties and methods of the Offce COM objects are called the following way:
Type type = Type.GetTypeFromProgID("Word.Application");
object comObject = Activator.CreateInstance(type);
type.InvokeMember(<METHOD NAME>, <BINDING FLAGS>, null, comObject, new…