1 2 3
Public Shared Function GetPropertyValue(ByVal obj As Object, ByVal sProperty As String) As Object Return obj.GetType().InvokeMember(sProperty, BindingFlags.GetProperty, Nothing, obj, Nothing) End Function