How do we know what are inside clr.AddReference(‘DSOffice’) ?
You can visit opensource
Import the inspect module with the line
import inspect, and then you can use
inspect.getmembers(DSOffice) to see all the things you can do with the DSOffice module. This works on most modules, including external libraries and DLL which can be readily pulled into the Iron Python or CPython environment.
thank you for the information. One more thing, How I will get the methods and its arguments of that class ?
The inspect module should list out the methods directly. To get the arguments needed for a given method you can use inspect on that method. You could also try feeding a single number and seeing what is expected.