Skip to content

format

typescript
DataLibrary.RemoveFile(file_name)

class: DataLibrary

description

Remove the data under the specified key value.

parameter

param_nametypedescription
file_namestringThe specified key value.

reture

typedescription
void

code example

typescript
let library = DataLibrary.projectLibrary;
let key = "testdata";
let content = "abcdefg";
// Set data
library.SetData(key, content);
// Remove the data under the specified key value
library.RemoveFile(key);