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..
element.GetType().GetProperties()
element.GetType().Assembly
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Chris AndersonSent: Friday, May 13, 2005 2:06 PMTo:
[email protected]: [IronPython]
System.RuntimeType
I'm trying to get a Syst
How would I do it without an instance available... I basically just want the runtime type for a specific type, not based on an instance.
On 5/13/05, John Gossman <[EMAIL PROTECTED]> wrote:
element.GetType().GetProperties()
element.GetType().Assembly
_
Sorry,
Ops.object2type(Button)
Ops.object2type(Button).Assembly
etc.
Should have realized what you
meant.
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Chris AndersonSent: Friday, May 13, 2005 2:23 PMTo:
[email protected]: Re: [Iron