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