IApp CreateVariableAsync T  Method (String, Func Response, T , String)Qlik Sense .NET SDK - API Reference

Creates a script variable.

To set some properties to the variable, use the SetNxProperties method.

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax

Task<T> CreateVariableAsync<T>(
	string name,
	Func<Response, T> onResult,
	string userHandle = null
)

Parameters

name
Type: OnlineSystem String
Name of the variable. Variable names are case sensitive. This parameter is mandatory.
onResult
Type: OnlineSystem Func Response, T 
Continuation function
userHandle (Optional)
Type: OnlineSystem String
Handle identifier
Type Parameters

T

Return Value

Type: OnlineTask T 
See Also