Question

How do you get the XML documentation strings from .NET assemblies using IronPython? Using '_doc_' doesn't seem to be the way.

MessageBox.Show(Label().Bottom.__doc__) returns "Represents a 32bit signed integer."

How do I get the actual doc string, which should be "get the distance, in pixels, between the bottom edge..."

Was it helpful?

Solution

I just found out that you need to have the XML documentation in the same directory as the exe, dll and it will be picked up by IronPython. See here:

IronPython use C# module documentation

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top