D
Don
This may seem like an odd question, but is it possible to get the name of
the class & function that is calling a function of another class?
e.g.
Public Class CallerName
Public Shared Function Test() As String
Return <the name of my caller> ' <--- is there a way to do this?
End Sub
End Class
Public Class MyClass
Public Shared Sub MyFunction
Console.Write CallerName.Test '<-- spits out "MyClass.MyFunction"
End Sub
End Class
- Don
the class & function that is calling a function of another class?
e.g.
Public Class CallerName
Public Shared Function Test() As String
Return <the name of my caller> ' <--- is there a way to do this?
End Sub
End Class
Public Class MyClass
Public Shared Sub MyFunction
Console.Write CallerName.Test '<-- spits out "MyClass.MyFunction"
End Sub
End Class
- Don