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
Post a Comment