[IronPython] System.RuntimeType
John Gossman
johngos at microsoft.com
Fri May 13 23:09:34 CEST 2005
element.GetType().GetProperties()
element.GetType().Assembly
________________________________
From: users-ironpython.com-bounces at lists.ironpython.com
[mailto:users-ironpython.com-bounces at lists.ironpython.com] On Behalf Of
Chris Anderson
Sent: Friday, May 13, 2005 2:06 PM
To: users-ironpython.com at lists.ironpython.com
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20050513/908dbdd9/attachment.html>
More information about the Ironpython-users
mailing list