ES3.DeleteKey
Description
Deletes a key from a file.
If the key or file does not exist, no exceptions will be thrown.
Parameters
key | The unique key we want to use to identity the data we are deleting. |
filePath |
[Optional] The relative or absolute path of the file we want to delete the key from. |
settings |
[Optional] The settings we want to use to override the default settings. |
Examples
C#
1 2 |
// Deletes the key myKey from myFile.txt. ES3.DeleteFile("myKey", "myFile.txt"); |
JS
1 2 |
// Deletes the key myKey from myFile.txt. ES3.DeleteKey("myKey", "myFile.txt"); |