简体   繁体   中英

How to get the list of images in the application folder wpf

I want to get the image list in the image folder in the application folder. The following code will returns the Images in the Mypicture folder.

 string[] files = System.IO.Directory.GetFiles(Environment.GetFolderPath(Environment.SpecialFolder.MyPictures));

Geetha

AppDomain.CurrentDomain.BaseDirectory

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM