Click or drag to resize
AppExtensionsGetVariableByName Method
Get a variable by Name

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 GetVariableByName(
	this IApp theApp,
	string variableName
)

Parameters

theApp
Type: Qlik.EngineIApp
variableName
Type: SystemString
Name of the variable

Return Value

Type: IVariable
An IVariable

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