Hi guys,
I've been struggling with getting at the documentation string for a static property defined in one of my C# classes from IronPython.

Say my C# class had a public static property that returned an int.
public class MyClass
{
 ///<summary>My property summary</summary>
 public static int MyProperty{ get{return 1;} }
}

If I use the following python script to call help, I get help information on the int data type (I can understand why this is happening).

help( MyLib.MyClass.MyProperty )

Thanks,
-Steve

_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to