KnownFolders.HomeGroup | homeGroup property

Applies to Windows only

Gets the HomeGroup folder.


var homeGroup = Windows.Storage.KnownFolders.homeGroup;

Property value

Type: StorageFolder

The HomeGroup folder.


Note  Content in the Documents library of a HomeGroup won't be visible to your app regardless of the capabilities declared in your app's manifest and regardless of the user's sharing settings.

To use this property, the user's machine must have a HomeGroup set up and your app must have at least one of the following capabilities: Pictures library, Music library, or Videos library. Learn more about these capabilities in Access to user resources using the Windows Runtime.

When your app gets the HomeGroup folder, it will see only the libraries that correspond to the capabilities declared in your app's manifest. For example, an app that has only the Pictures library capability will see only the Pictures libraries in the HomeGroup folder.

You can enumerate files and folders in this location, but when you create a query, the shapes you can specify with CommonFileQuery and CommonFolderQuery are limited to the defaultQuery, orderByName, and orderBySearchRank values.


Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported


Windows::Storage [C++]



See also

HomeGroup app sample



© 2014 Microsoft