AppExtensionsCreateMeasureAsync Method (IApp, String, String) |
Create measure
Namespace: Qlik.Sense.ClientAssembly: Qlik.Sense.Client (in Qlik.Sense.Client.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax public static Task<IMeasure> CreateMeasureAsync(
this IApp theApp,
[OptionalAttribute] string id,
string stringExpression
)
<ExtensionAttribute>
Public Shared Function CreateMeasureAsync (
theApp As IApp,
<OptionalAttribute> id As String,
stringExpression As String
) As Task(Of IMeasure)
Parameters
- theApp
- Type: Qlik.EngineIApp
- id (Optional)
- Type: SystemString
Id of the measure - stringExpression
- Type: SystemString
string with the measure
Return Value
Type:
TaskIMeasureUsage 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