Click or drag to resize
AppExtensionsCreateSessionVariable Method
Create a session variable

Namespace: Qlik.Sense.Client
Assembly: Qlik.Sense.Client (in Qlik.Sense.Client.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax
public static IVariable CreateSessionVariable(
	this IApp theApp,
	[OptionalAttribute] string id,
	[OptionalAttribute] GenericVariableProperties properties
)

Parameters

theApp
Type: Qlik.EngineIApp
id (Optional)
Type: SystemString
Set an id on the variable
properties (Optional)
Type: Qlik.EngineGenericVariableProperties
Set properties on the variable

Return Value

Type: IVariable
An IGenericVariable

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IApp. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also