get Type for a class

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I designed a user control with namespace UserControls and class name UserControl1

In C#, it is easy to get its type by Type t=typeof(Namespace.ClassName).

Does anyone know how to it in a similar way in a VB program?

Thanks

Keith
 
* "=?Utf-8?B?a2VpdGg=?= said:
I designed a user control with namespace UserControls and class name UserControl1

In C#, it is easy to get its type by Type t=typeof(Namespace.ClassName).

Use 'GetType' in VB.NET.
 
Back
Top