Mega Code Archive

 
Categories / VB.Net / Reflection
 

PropertyInfo MemberType

Imports System Imports System.Reflection Imports Microsoft.VisualBasic Class Mypropertyinfo     Public Shared Function Main() As Integer         Dim MyType As Type = Type.GetType("System.Reflection.MemberInfo")         Dim Mypropertyinfo As PropertyInfo = MyType.GetProperty("Name")         Console.WriteLine("MemberType = " & Mypropertyinfo.MemberType.ToString())         Return 0     End Function End Class