_用于行继续。如何在文本中连接_。
我正在尝试这个
aPath.ExeConfigFilename = strAppPath & "\" & Environment.UserName.ToString & Thread.CurrentThread.CurrentCulture.Name.ToString &_& xyzConstants.CONFIG_FILE
答案 0 :(得分:0)
改变这个:
aPath.ExeConfigFilename = strAppPath & "\" & Environment.UserName.ToString &
Thread.CurrentThread.CurrentCulture.Name.ToString &_& xyzConstants.CONFIG_FILE
到此:
aPath.ExeConfigFilename = strAppPath & "\" & Environment.UserName.ToString &
Thread.CurrentThread.CurrentCulture.Name.ToString & "_" & xyzConstants.CONFIG_FILE