Dim type As Type = vCRCommunication.GetType
Dim [property] As PropertyInfo = type.GetProperty("Orderno")
If [property] Is Nothing Then
Else
Dim o As Object =
[property].GetValue(vCRCommunication, Nothing)
End
If
原文:http://www.cnblogs.com/bloodyboy/p/3555926.html