c# - The Name 'CommonFolderQuery' does not exist in current context -


i trying music files windows phone 8.1 , want group them artist. following documentation.

// music folders present in music library ireadonlylist<istorageitem> musicfolders = await knownfolders.musiclibrary.getfoldersasync(commonfolderquery.groupbyartist); 

but error shown. reason? did miss using directive or assembly reference??

the commonfolderquery enumeration located in windows.storage.search namespace.

make sure you've included using directive @ top of file:

using windows.storage.search; 

Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -