| AppExtensionsGetVariableByName Method |
Get a variable by Name
Namespace: Qlik.Sense.ClientAssembly: Qlik.Sense.Client (in Qlik.Sense.Client.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntaxpublic static IVariable GetVariableByName(
this IApp theApp,
string variableName
)
<ExtensionAttribute>
Public Shared Function GetVariableByName (
theApp As IApp,
variableName As String
) As IVariable
Parameters
- theApp
- Type: Qlik.EngineIApp
- variableName
- Type: SystemString
Name of the variable
Return Value
Type:
IVariableAn 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