location

This property returns the absolute file path of the document from the drive root, as in the following example:

file:///C:\Users\UserName\Documents\My Web Sites\Example Site\example-file.html

Syntax

function get xweb.document.location() : IHTMLLocation

Parameters

None.

Returns

This property returns an IHTMLLocation object that specifies the location of the current document.

See Also

Concepts

document
document Members
xweb

  Copyright © 2011 by Microsoft Corporation. All rights reserved.