IXMLDOMDocument::url Method
IXMLDOMDocument::get_url Method
Returns the canonicalized URL for the last loaded XML document.
Visual Basic Syntax
strValue = oXMLDOMDocument.url
C/C++ Syntax
HRESULT get_url(
BSTR *urlString);
Parameters
- urlString [out]
- 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.
Remarks
The url property is not updated after saving a document with the save method. To update the url property in this case, reload the document using the load method.
This member is an extension of the W3C DOM.
See Also
IXMLDOMDocument Interface