共用方式為


IsolatedWindowsEnvironmentOptions.PersistUserProfile 屬性

定義

已取代。 可讓使用者配置檔從會話到會話保存在隔離的 Windows 環境中。

public:
 property bool PersistUserProfile { bool get(); void set(bool value); };
bool PersistUserProfile();

void PersistUserProfile(bool value);
/// [get: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
bool PersistUserProfile();

void PersistUserProfile(bool value);
public bool PersistUserProfile { get; set; }
public bool PersistUserProfile { [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] get; [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] set; }
var boolean = isolatedWindowsEnvironmentOptions.persistUserProfile;
isolatedWindowsEnvironmentOptions.persistUserProfile = boolean;
Public Property PersistUserProfile As Boolean

屬性值

Boolean

bool

Boolean

屬性

備註

警告

這是已被取代的 API。

適用於