Share via


SharedModeSettings Class

Definition

Provides access to the settings for shared mode. For example, devices with large screens could support communal shared apps.

public ref class SharedModeSettings abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.System.Profile.ProfileSharedModeContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SharedModeSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.System.Profile.ProfileSharedModeContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public static class SharedModeSettings
Public Class SharedModeSettings
Inheritance
Object Platform::Object IInspectable SharedModeSettings
Attributes

Windows requirements

Device family
Windows Team Extension SDK (introduced in 10.0.10240.0)
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.System.Profile.ProfileSharedModeContract (introduced in v1.0)

Remarks

For more info on when SharedModeSettings is used on Desktop, see Set up a shared or guest PC with Windows 10.

Version history

Windows version SDK version Value added
1703 15063 ShouldAvoidLocalStorage

Properties

IsEnabled

Gets a Boolean value that indicates if shared mode is currently enabled.

ShouldAvoidLocalStorage

Gets a Boolean value indicating that your app should not store files on the local hard drive.

Applies to