Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMDocument::save Met...     IXMLDOMDocument::validate...     IXMLDOMDocument Interface    
Web Workshop  |  XML (Extensible Markup Language)

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 when returning null. 
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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.