Search code examples
ironpythonxml-documentationdocstring

IronPython: How to obtain XML documentation strings from .NET assemblies


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..."


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