IHTMLSelectElement::type Property

Retrieves the type of select control based on the value of the MULTIPLE attribute.

Syntax


HRESULT IHTMLSelectElement::get_type(BSTR *p);

Parameters

p
Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.

Possible Values

select-multiple The MULTIPLE attribute is true. Multiple OPTION elements can be selected.
select-one Default. The MULTIPLE attribute is false. Only one OPTION element can be selected.

Return Value

Returns S_OK if successful, or an error value otherwise.

Show: