url Property (DOMDocument) (Windows Embedded CE 6.0)
1/6/2010
Returns the URL for the last loaded XML document.
Script Syntax
var objurl = objXMLDOMDocument.url;
Remarks
Script Parameters
None.
Script Return Value
String. It returns the URL from the last successful load. If the document is being built in memory, this property returns Null.
C/C++ Syntax
HRESULT get_url(
BSTR* urlString
);
Remarks
C/C++ Parameters
- urlString
[out, retval] URL from the last successful load. If the document is being built in memory, this property returns Null.
C/C++ Return Values
- S_OK
Value returned if successful.
- S_FALSE
Value returned if there is no URL.
- E_INVALIDARG
Value returned if urlString is Null.
Requirements
Header | msxml2.h, msxml2.idl |
Windows Embedded CE | Windows CE .NET 4.0 and later |
General Remarks
The url property is not updated after saving a document with the save method. To update the url property, reload the document using the load Method.
This member is an extension of the World Wide Web Consortium (W3C) Document Object Model (DOM).
This property is read-only, and applies to the following interface: