Function: setValue()
setValue(
key
,value
,scope
?):void
Defined in: packages/extension-api/src/extension-api.d.ts:4552
Store a new value for key in the context. This can be used in enablement of command or with the when property. The key should consists of '"extension-id"."actual-key"'.
Parameters
key
string
the key of the key/value pair to be added to the context
value
any
value associated to the key
scope?
the scope to use to save the value
"onboarding"
| "DockerCompatibility"
Returns
void