ApplicationData.GetDefault Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an instance of ApplicationData for the current user.
public:
static ApplicationData ^ GetDefault();
static ApplicationData GetDefault();
public static ApplicationData GetDefault();
function getDefault()
Public Shared Function GetDefault () As ApplicationData
Returns
Remarks
[!NOTE} Using this method requires the current process has package identity.
Note that this method is equivalent to Windows.Storage.ApplicationData.Current if running in an AppContainer. When not running in an AppContainer, this method is equivalent to Windows.Management.Core.ApplicationDataManager.CreateForPackageFamily(GetCurrentPackageFamilyName()).