Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

Community Additions

Show:
© 2015 Microsoft