I'd like to distinguish between these two cases, for example in this code:
For Each method As Reflection.MethodInfo In Type.GetType("WindowsApplication2.clsTest").GetMethods()
Select Case method.Name
Case "ToString", "Equals", "GetHashCode", "GetType"
Case Else
Debug.Print(method.GetType().ToString)
End Select
Next
Or, even better, is it possible to iterate only over subs or functions?
Thank you.
Aucun commentaire:
Enregistrer un commentaire