AppExtensionsCreateVariableExpression Method |
Create a variable expression
Namespace: Qlik.Sense.ClientAssembly: Qlik.Sense.Client (in Qlik.Sense.Client.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax public static IVariable CreateVariableExpression(
this IApp theApp,
[OptionalAttribute] string id,
[OptionalAttribute] GenericVariableProperties properties
)
<ExtensionAttribute>
Public Shared Function CreateVariableExpression (
theApp As IApp,
<OptionalAttribute> id As String,
<OptionalAttribute> properties As GenericVariableProperties
) As IVariable
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:
IVariableAn 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