KnownFolders.HomeGroup Property

Definition

Gets the HomeGroup folder.

public:
 static property StorageFolder ^ HomeGroup { StorageFolder ^ get(); };
static StorageFolder HomeGroup();
public static StorageFolder HomeGroup { get; }
var storageFolder = KnownFolders.homeGroup;
Public Shared ReadOnly Property HomeGroup As StorageFolder

Property Value

The HomeGroup folder.

Remarks

Prerequisites

Before you can access the HomeGroup folder, the user's computer must belong to an existing HomeGroup.

To access the HomeGroup folder, in the app manifest, specify at least one of the following capabilities: Pictures Library, Music Library, or Videos Library.

More info

In the HomeGroup folder, the app sees only the libraries that correspond to the capabilities specified in the app's manifest. For example, an app that specifies only the Pictures Library capability sees only the Pictures libraries in the HomeGroup folder.

Applies to

See also