AppExtensionsCreateDimensionAsync Method (IApp, String, String) |
Create dimension
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 Task<IDimension> CreateDimensionAsync(
this IApp theApp,
[OptionalAttribute] string id,
string dimension
)
<ExtensionAttribute>
Public Shared Function CreateDimensionAsync (
theApp As IApp,
<OptionalAttribute> id As String,
dimension As String
) As Task(Of IDimension)
Parameters
- theApp
- Type: Qlik.EngineIApp
The app object. Can be omitted when calling the method as an instance method on the IApp object. - id (Optional)
- Type: SystemString
Id of the dimension - dimension
- Type: SystemString
field name
Return Value
Type:
TaskIDimensionA task with the created IDimension object
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