Click or drag to resize
ClientExtensionCreateListbox Method
Create a Listbox

Namespace: Qlik.Sense.Client
Assembly: 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
)

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: IListbox
Returns 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
ExceptionCondition
Exception
TimeoutException
See Also