Get Special Folder

前端 未结 3 1199
清歌不尽
清歌不尽 2020-12-01 20:26

please just answer the question otherways do not respond to this question.

let me start again. How do I use this class, which extends the internal E

3条回答
  •  庸人自扰
    2020-12-01 21:02

    Something like this added to the click event of your button.

    String path = EnvironmentFolders.GetPath(EnvironmentFolders.SpecialFolder.Favorites)
    //do something with the path.
    

    You need more info??

    ADDED ON EDIT: Comments are right the method is static this way should work (at least, it worked when I try it on a console app).

提交回复
热议问题