简体   繁体   中英

What is the Windows CE equivalent of Application.StartupPath?

I'm adding code to a program created to be used on Windows CE. My current problem is that Application.StartupPath isn't recognized. What is the Equivalent line of code I need to use?

您可以通过以下方式检索它

Path.GetDirectoryName (Assembly.GetExecutingAssembly ().GetName ().CodeBase);

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