For Each entry as String in myObject ' Do stuff here... Next
在我的对象中有字符串,整数和布尔属性。
PropertyInfo[] propertyInfo = myobject.GetType().GetProperties();
添加了VB.Net翻译:
Dim info() As PropertyInfo = myobject.GetType().GetProperties()