IHTMLLabelElement::htmlFor Property
Sets or retrieves the object to which the given label object is assigned.
Syntax
HRESULT IHTMLLabelElement::get_htmlFor(BSTR *p); HRESULT IHTMLLabelElement::put_htmlFor(BSTR v);
Parameters
- p
Pointer to a variable of type BSTR that receives the identifier of the element to which the label element is assigned.- v
BSTR that specifies the identifier of the element to which the label element is assigned.
Return Value
Returns S_OK if successful, or an error value otherwise.