[IronPython] How to get the Type of object

tom berger tom.berger at gmail.com
Wed Sep 8 15:07:24 CEST 2004

you can call the GetType method on every object to get the Type object
representing it's type.


On Wed, 8 Sep 2004 17:01:28 +0530, senthilkumar
<senthilkumar.chockalingam at kla-tencor.com> wrote:
> I would like to know is there any way to get the type of the object.
> Actaully my requirement is
>       1. First i'll create a object for any C#/.Net Datatype (for example
> obj = StringBuilder())
>         2. Second i may create any other objects are do some operations.
>         3. Now, On typing obj(in a taxtbox) and clicking on a button i have to
> identify the ObjectType to which it belongs
> _______________________________________________
> users-ironpython.com mailing list
> users-ironpython.com at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


More information about the Ironpython-users mailing list