Groups | Blog | Home
all groups > dotnet jscript > july 2006 >

dotnet jscript : How Can I Get Type of a Class ?



cok119
7/16/2006 12:00:00 AM
Hi, all

I am working on a Project ,I use JScript.Net to support it's automation

A question I meeted is "How Can I get Type of a Class?"

eg.

when I call follow code:
Activor.GetObject(Type type, string url)

In C#, I can get it use "typeof(TYPE)"
'type' is method argument, How can I get it in JScript.



Gino
7/16/2006 8:55:08 PM
There is a TypeOf in jscript that returns one of eight different values as
described in this URL
http://msdn2.microsoft.com/en-us/library/d70y8358.aspx

[quoted text, click to view]

AddThis Social Bookmark Button