By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,582 Members | 1,720 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,582 IT Pros & Developers. It's quick & easy.

Determine System.Type of a class

P: n/a
In C# I can use
Type t = typeof(MyClass);

Whats the equivalent in VB?
It seems that typeof operator in VB.NET works only with objects not classes.

-
wa
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

Dim t as type = GetType(myclass)

Ken
----------------------
"Wasim Akram" <a@b.c> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
In C# I can use
Type t = typeof(MyClass);

Whats the equivalent in VB?
It seems that typeof operator in VB.NET works only with objects not classes.

-
wa

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.