Use Type.GetType to get type information : GetType « Development « VB.Net






Use Type.GetType to get type information

Use Type.GetType to get type information
Imports System
Imports System.Reflection

 
Public Class MainClass

    Shared Sub Main(  )
         Dim t As Type = Type.GetType("System.Reflection.Assembly")
         Console.WriteLine("Single type is {0}", t)

    End Sub
  
End Class

  
           
       








Related examples in the same category

1.Get data type full name for any objectGet data type full name for any object
2.Object's GetType MethodObject's GetType Method
3.Get Variable TypeGet Variable Type
4.Array.CreateInstance(GetType(Integer), 11) to create ArrayArray.CreateInstance(GetType(Integer), 11) to create Array