IVariableSetContentAsyncT Method (AsyncHandle, FuncResponse, T, String, Boolean) |
Note: This API is now obsolete.
Sets a value to a variable.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax [ObsoleteAttribute("See class GenericVariable")]
Task<T> SetContentAsync<T>(
AsyncHandle asyncHandle,
Func<Response, T> onResult,
string content,
bool updateMRU
)
<ObsoleteAttribute("See class GenericVariable")>
Function SetContentAsync(Of T) (
asyncHandle As AsyncHandle,
onResult As Func(Of Response, T),
content As String,
updateMRU As Boolean
) As Task(Of T)
Parameters
- asyncHandle
- Type: Qlik.EngineAsyncHandle
Handle to asynchronous method request - onResult
- Type: SystemFuncResponse, T
Continuation function - content
- Type: SystemString
Value of the variable.
This parameter is mandatory. - updateMRU
- Type: SystemBoolean
If set to true, the value is added to the Most Recently Used (MRU) list.
This parameter is mandatory.
Type Parameters
- T
Return Value
Type:
TaskTSee Also