| ClientExtensionCreateListboxAsync 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)
Syntaxpublic static Task<IListbox> CreateListboxAsync(
	this IGenericObject parent,
	string id,
	string libraryId = null,
	params string[] fieldNames
)
<ExtensionAttribute>
Public Shared Function CreateListboxAsync ( 
	parent As IGenericObject,
	id As String,
	Optional libraryId As String = Nothing,
	ParamArray fieldNames As String()
) As Task(Of 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: 
TaskIListboxUsage 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).
See Also