请看这个例子:
''//file1.vb
Sub Something()
''//...
Functions.LogInfo("some text")
''//...
End Sub
''//functions.vb
Sub LogInfo(ByVal entry as String)
Console.WriteLine(entry)
End Sub
我能在LogInfo中获取名称为“Something”的内容吗?
很抱歉这篇文章比较简短,我不确定如何清晰地表达我的问题。如果需要,我会进行澄清和详细解释。