SnippetContext.setVariable

Sets a variable within the context.

This variable may be overridden by future updates to the context.

class SnippetContext
void
setVariable
(
string key
,
string value
)

Parameters

key string

the variable name

value string

the value for the variable