Isolated Storage
Isolated Storage is a data storage that provides isolation between extensions, so that you can keep keys/values in one extension from being accessed from other extensions. Keys/values in the Isolated Storage are accessible through an API. The option type used for classifying data is DataScope Option Type and the data type used is the IsolatedStorage Data Type.
The methods supported for IsolatedStorage are:
Method | Description | For more information, see |
---|---|---|
Set(String, String, [DataScope]) | Sets the value associated with the specified key within the extension. | Set(String, String, [DataScope]) Method |
Get(String, [DataScope], var Text) | Gets the value associated with the specified key within the extension. | Get(String, [DataScope], var Text) Method |
Contains(String, [DataScope]) | Determines whether the storage contains a value with the specified key within the extension. | Contains(String, [DataScope]) Method |
Delete(String, [DataScope]) | Deletes the value with the specified key from the isolated storage within the extension. | IsolatedStorage.Delete Method |
SetEncrypted(String, String, [DataScope]) | Encrypts and sets the value associated with the specified key. The input string cannot exceed a length of 215 plain characters; be aware that special characters take up more space. | SetEncrypted(String, String, [DataScope]) Method |
See Also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈