Retrieves an interface pointer to a factory object that you can use to create OPTION elements.
Syntax
HRESULT get_Option( IHTMLOptionElementFactory **p );
Parameters
- p
- Address of a pointer to an IHTMLOptionElementFactory interface that receives the factory object.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
You can add the elements to a SELECT block by using the IHTMLSelectElement::add method.