element.GetType().GetProperties()
 
element.GetType().Assembly
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Anderson
Sent: Friday, May 13, 2005 2:06 PM
To: [email protected]
Subject: [IronPython] System.RuntimeType

I'm trying to get a System.RuntimeType in a simple Python script... today if i use the "type" keyword, i get a Python type object... I really want the equivalent of C#'s typeof operator. Specifically I want to be able to access the GetProperties(), GetMethods(), and GetEvents() on the type object... also I need to access the Assembly for a type to do some searching...
 
Thoughts?
_______________________________________________
users-ironpython.com mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to