Retrieves the ordinal position of the option in the list box.
Syntax
HRESULT get_index( LONG *p );
Parameters
- p
- Address of a long variable that receives the ordinal position. For details, see the index property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
You can assign a value to this property without generating a syntax error, but the value is not stored.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the ordinal position of the option in the list box.
Syntax
HRESULT put_index( LONG v );
Parameters
- v
- Long value that specifies the ordinal position to set. For details, see the index property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
You can assign a value to this property without generating a syntax error, but the value is not stored.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0