Skip to main content

RemoveKeyAndValue

Description​

Store temporary data locally. SaveKeyAndValue is a method that stores Experience case preferences between project sessions. It can store string into the user’s platform registry.

Removes the given key from the lcaolly. If the key does not exist, RemoveKeyAndValue has no impact.

Parameters​

ParamDescription
_projectNameUse ProjectName+Key storage to prevent Key from being occupied
_keyUnique name

Method​

public void RemoveKeyAndValue(string _projectName,string _key)

Example​

internal static API ARMODAPI = new API(nameof(APITest));
private void OnLoad(){
ARMODAPI.RemoveKeyAndValue(nameof(APITest),"StoreKey");
}