こんにちは。
Windows10でUWPのアプリケーションを開発しています。
Visual Studio 2015 Communityを使っています。
###前提・実現したいこと
UWPで、アプリから開くデフォルトのフォルダを指定したいです。
あるいは覚えたいです。
###試したこと
openpicker.SuggestedStartLocation = PickerLocationId.ComputerFolder;
でSDを選べて、ツリーをたどると該当するフォルダやファイルは見えます。
毎回たどるのは大変なので、覚えたいです。
###発生している問題・エラーメッセージ
###該当のソースコード
C#
1 FileOpenPicker openpicker = new FileOpenPicker(); 2 openpicker.ViewMode = PickerViewMode.List; 3 openpicker.SuggestedStartLocation = PickerLocationId.ComputerFolder; 4 openpicker.FileTypeFilter.Add(".txt"); 5 StorageFile file = await openpicker.PickSingleFileAsync();
###補足情報(言語/FW/ツール等のバージョンなど)
Microsoft Visual Studio Community 2015
Version 14.0.25424.00 Update 3
Microsoft .NET Framework
Version 4.6.01038
インストールしているバージョン:Community
Visual C# 2015 00322-20000-00000-AA575
Microsoft Visual C# 2015
です。
よろしくお願いします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。