> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PersistentLocalStorage 元素 (MicrosoftGame.config)

> MicrosoftGame.config Element - PersistentLocalStorage

# MicrosoftGame.config Element - PersistentLocalStorage

指定标题的持久本地存储的期望大小。持久本地存储要求正确配置标题标识才能正常工作。

## 父元素

此元素的父元素是 Game 元素。

## 要求

此元素为可选，无需设置。

## 平台

此元素仅适用于主机设备。

## 行为

* 无属性。
* 无默认值。
* 允许值为 SizeMB 和 GrowableToMB 的子元素。

## 备注

我们建议将持久本地存储 (PLS) 设置得尽可能小。大于 4GB 的 PLS 大小将增加在 XBOX Game Streaming 中运行游戏的启动时间。

## 另请参阅

[MicrosoftGame.config 参考 - 目录](https://docs.xbox.com/zh-CN/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc.md)


## Related topics

- [MicrosoftGame.config 元素参考（内容）](https://docs.xbox.com/zh-CN/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc.md)
- [Shareable 元素 (MicrosoftGame.config)](https://docs.xbox.com/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-shareable.md)
- [GrowableToMB 元素 (MicrosoftGame.config)](https://docs.xbox.com/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-growabletomb.md)
- [SizeMB 元素 (MicrosoftGame.config)](https://docs.xbox.com/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-sizemb.md)
- [SaveGameStorage 元素 (MicrosoftGame.config)](https://docs.xbox.com/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-savegamestorage.md)
