JavaScript的“WITH”語句有合法的用法嗎?我看到了一些獲取應用程序文件夾路徑的方法:Application.StartupPathSystem.IO.Path.GetDirectoryName(
System.Reflection.Assembly.GetExecutingAssembly().Location)AppDomain.CurrentDomain.BaseDirectorySystem.IO.Directory.GetCurrentDirectory()Environment.CurrentDirectorySystem.IO.Path.GetDirectoryName(
System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase)System.IO.Path.GetDirectory(Application.ExecutablePath)根據具體情況,最好的方法是什么?
- 3 回答
- 0 關注
- 783 瀏覽
添加回答
舉報
0/150
提交
取消