format
typescript
DataLibrary.RemoveFile(file_name)class: DataLibrary
description
Remove the data under the specified key value.
parameter
| param_name | type | description |
|---|---|---|
| file_name | string | The specified key value. |
reture
| type | description |
|---|---|
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);