Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我想知道是否像
Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
为 vala 存在。或者如何获得考虑不同系统语言的桌面路径?
谢谢
你正在寻找.Environment.get_user_special_dir(UserDirectory.DESKTOP)
Environment.get_user_special_dir
(
UserDirectory.DESKTOP
)