简体   繁体   中英

C# - How to allow multiple filetypes in an OpenFileDialog?

I knew this once but I keep forgetting; How do I allow multiple filetypes in one filter entry of the OpenFileDialog?

Text files|*.txt          // this is OK.

Text files|*.txt,*.text   // how do I get this??

分号:

files|*.txt;*.text

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