다음을 통해 공유


baseURL Property (Visual Basic)

 

Sets the base URL for the current document. The baseURL property is stored as a string.

Usage Syntax

For getting the base URL:

strbaseURL = oSAXXMLReader.baseURL  

For setting the base URL:

oSAXXMLReader.baseURL = strBaseURL  

Return Values

A trappable error if the application tries to set the baseURL property while parsing is in progress.

Remarks

If an URL does not end with a slash or backslash, the text following the backslash is considered the destination file name. For example, "https://www.microsoft.com/msdn/" sets the base URL to "https://www.microsoft.com/msdn" while "https://www.microsoft.com/msdn" sets the base URL to "https://www.microsoft.com/".

Versioning

Implemented in: MSXML 3.0 and later

Applies to

ISAXXMLReader Interface

See Also

secureBaseURL Property (Visual Basic)