Export (0) Print
Expand All

IHTMLLocation::href Property

Sets or retrieves the entire URL as a string.

Syntax


HRESULT IHTMLLocation::get_href(BSTR *p);HRESULT IHTMLLocation::put_href(BSTR v);

Parameters

p
Pointer to a variable of type BSTR that receives a URL.
v
BSTR that specifies a URL.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IHTMLWindow2::navigate

Community Additions

ADD
Show:
© 2014 Microsoft