Asynchronously clears all values in the data store.
Returns
Type
Description
Task
DeleteAsync<T>(String)
Task DeleteAsync<T>(string key)
Asynchronously deletes the given key. The type is provided here as well because the "real" saved key should
contain type information as well, so the data store will be able to store the same key for different types.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eIDataStore\u003c/code\u003e interface allows for storing and managing data objects using string keys and object values, disallowing \u003ccode\u003enull\u003c/code\u003e keys.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eClearAsync()\u003c/code\u003e method asynchronously clears all values from the data store.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteAsync<T>(string key)\u003c/code\u003e asynchronously deletes a value associated with a specific key and type from the data store.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetAsync<T>(string key)\u003c/code\u003e asynchronously retrieves the stored value for a given key and type or returns \u003ccode\u003enull\u003c/code\u003e if not found.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStoreAsync<T>(string key, T value)\u003c/code\u003e asynchronously stores a given value for a specified key, overwriting any existing value for that key.\u003c/p\u003e\n"]]],[],null,[]]