ClientExtensionCreateListbox Method |
Create a Listbox
Namespace: Qlik.Sense.ClientAssembly: Qlik.Sense.Client (in Qlik.Sense.Client.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax public static IListbox CreateListbox(
this IGenericObject parent,
string id,
string libraryId = null,
params string[] fieldNames
)
<ExtensionAttribute>
Public Shared Function CreateListbox (
parent As IGenericObject,
id As String,
Optional libraryId As String = Nothing,
ParamArray fieldNames As String()
) As IListbox
Parameters
- parent
- Type: Qlik.EngineIGenericObject
The sheet you want to create the object on. - id
- Type: SystemString
the id - libraryId (Optional)
- Type: SystemString
the library - fieldNames
- Type: SystemString
if not library id specified an array of field names can be given
Return Value
Type:
IListboxReturns the created object
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IGenericObject. 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).
Exceptions See Also