Microsoft XML 2.5 SDK


 

IXMLDOMDocument::get_url Method

[This is preliminary documentation and subject to change.]

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.