Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 2.37 KB

devenv-isolated-storage.md

File metadata and controls

26 lines (20 loc) · 2.37 KB
title description ms.date ms.topic author
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.
06/14/2024
conceptual
SusanneWindfeldPedersen

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

DataScope Option Type
IsolatedStorage Data Type