Compartilhar via


url Property (DOMDocument) (Windows CE 5.0)

Send Feedback

Returns the URL for the last loaded XML document.

[Script]

Script Syntax

varobjurl = objXMLDOMDocument.url;

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++]

C/C++ Syntax

HRESULT get_url(BSTR* urlString);

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.

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:

DOMDocument

See Also

load Method | save Method

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.