format
typescript
Dictionary.Remove(key)class: Dictionary
description
Remove the value with the specified key name.
parameter
| param_name | type | description |
|---|---|---|
| key | K|null | The key name. |
reture
| type | description |
|---|---|
void |
code example
typescript
let dictionaryObj = new Dictionary<Obj, Number>(Obj);
let obj1 = new Obj(1);
dictionaryObj.Add(obj1, 1);
dictionaryObj.Remove(obj1);