B
Bob Altman
Hi,
Does anyone know if there is a way to programmatically retrieve the name of the class in which a static ("Shared" in VB) routine is executing? If I want to do this in an instance routine, I could use the Me keyword, like this:
Sub Test()
Dim myClassName as String = Me.GetType.FullName
End Sub
However, Me doesn't work in a Shared routine, so...
Shared Sub Test()
Dim myClassName as String = <???>
End Sub
Thanks in advance.
Does anyone know if there is a way to programmatically retrieve the name of the class in which a static ("Shared" in VB) routine is executing? If I want to do this in an instance routine, I could use the Me keyword, like this:
Sub Test()
Dim myClassName as String = Me.GetType.FullName
End Sub
However, Me doesn't work in a Shared routine, so...
Shared Sub Test()
Dim myClassName as String = <???>
End Sub
Thanks in advance.