CortanaSettings.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.
Retrieves the Cortana settings for the current user.
public:
static CortanaSettings ^ GetDefault();
static CortanaSettings GetDefault();
/// [Windows.Foundation.Metadata.Deprecated("ICortanaSettingsStatics is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.System.SystemManagementContract")]
static CortanaSettings GetDefault();
public static CortanaSettings GetDefault();
[Windows.Foundation.Metadata.Deprecated("ICortanaSettingsStatics is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.System.SystemManagementContract")]
public static CortanaSettings GetDefault();
function getDefault()
Public Shared Function GetDefault () As CortanaSettings
Returns
A CortanaSettings object.
- Attributes
Remarks
The CortanaSettings class requires the following be added to the Package.appmanifest:
- To <Package>
IgnorableNamespaces="iot"
- Under <Capabilities>
<iot:Capability Name="systemManagement"/>