AppExtensionsGetAppFieldAsync Method |
Get app field
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<IAppField> GetAppFieldAsync(
this IApp theApp,
string name,
bool showAlternatives = false,
int pageSize = 20
)
<ExtensionAttribute>
Public Shared Function GetAppFieldAsync (
theApp As IApp,
name As String,
Optional showAlternatives As Boolean = false,
Optional pageSize As Integer = 20
) As Task(Of IAppField)
Parameters
- theApp
- Type: Qlik.EngineIApp
The app object. Can be omitted when calling the method as an instance method on the IApp object. - name
- Type: SystemString
Name of the field - showAlternatives (Optional)
- Type: SystemBoolean
Show alternatives - pageSize (Optional)
- Type: SystemInt32
The size of the page returned, default 20
Return Value
Type:
TaskIAppFieldA task with the IAppField 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