Click to return to the Reusing Browser Technology home page    
IHTMLSelectElement::get_l...     IHTMLSelectElement::get_n...     IHTMLSelectElement Interf...    
Web Workshop  |  Reusing Browser Technology

IHTMLSelectElement::get_multiple Method


Retrieves the value that indicates whether multiple items in the list can be selected.

Syntax

HRESULT get_multiple(
    VARIANT_BOOL *p 
);

Parameters

p
Address of a VARIANT Boolean structure that receives VARIANT_TRUE if multiple items can be selected, or VARIANT_FALSE otherwise.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The default value for this property is VARIANT_FALSE.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

IHTMLSelectElement::put_multiple Method


Sets the value that indicates whether multiple items in the list can be selected.

Syntax

HRESULT put_multiple(
    VARIANT_BOOL v 
);

Parameters

v
VARIANT Boolean structure that specifies the multiple-items flag to set. If TRUE, multiple items can be selected; if VARIANT_FALSE, they cannot.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The default value for this property is VARIANT_FALSE.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.