IHTMLSelectElement::multiple Property

Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.

Syntax

HRESULT IHTMLSelectElement::get_multiple(VARIANT_BOOL *p);
HRESULT IHTMLSelectElement::put_multiple(VARIANT_BOOL v);

Parameters

  • p
    Pointer to a variable of type VARIANT_BOOL that receives one of the values listed in Possible Values.
  • v
    VARIANT_BOOL that specifies one of the values listed in Possible Values.

Possible Values

VARIANT_FALSE Default. Multiple items cannot be selected.
VARIANT_TRUE Multiple items can be selected.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IHTMLSelectElement::type