Skip to content

format

typescript
Dictionary.Remove(key)

class: Dictionary

description

Remove the value with the specified key name.

parameter

param_nametypedescription
keyK|nullThe key name.

reture

typedescription
void

code example

typescript
let dictionaryObj = new Dictionary<Obj, Number>(Obj);
let obj1 = new Obj(1);
dictionaryObj.Add(obj1, 1);
dictionaryObj.Remove(obj1);