Get Assembly Member type: Property or Member
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)
Dim mbrInfoArray As MemberInfo( ) = t.GetMembers( )
Dim inf As MemberInfo
For Each inf In mbrInfoArray
Console.WriteLine("{0} is a {1}", _
inf, inf.MemberType)
Next
End Sub
End Class
Related examples in the same category