all groups > dotnet faqs > july 2006 >
You're in the

dotnet faqs

group:

HOw can I get System.Type object in JScript.Net?



HOw can I get System.Type object in JScript.Net? Cok
7/17/2006 12:00:00 AM
dotnet faqs: Hi,

I am using JScript.Net as script in a project,
It need access a remote object (code below)

MyClass obj = (MyClass)Activor.GetObject(type, url).

, How can I get a MyClass's Type object ?

thanks for any advice
..

Re: HOw can I get System.Type object in JScript.Net? AnsweringMachine
8/2/2006 9:32:50 PM
"The typeof operator returns type information as a string. All
expressions in JScript have a GetType method. This method returns the
data type (not a string representing the data type) of the expression.
The GetType method provides more information than the typeof operator."

[quoted text, click to view]
AddThis Social Bookmark Button