URLUnencoded property
[This documentation is preliminary and is subject to change.]
Gets the URL for the document, stripped of any character encoding.
Syntax
HRESULT value = object.get_URLUnencoded(BSTR* p);
Property values
Type: BSTR
the URL of the document.
Remarks
For more information about URL character encoding issues, refer to RFC1738: Uniform Resource Locators (URL).
Examples
The following illustrates the difference between the value returned by the IHTMLDocument4::URLUnencoded property and the value returned by the IHTMLDocument2::URL property of the document.
Code example: http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/URLUnencoded.htm
<SCRIPT>
function window.onload()
{
oURL.innerText = document.URL;
oURL2.innerText = document.URLUnencoded;
}
</SCRIPT>
Build date: 6/12/2012
Community Additions
Show: