Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Hosting and Reuse
WebBrowser Control
Properties
 LocationName Property

  Switch on low bandwidth view
LocationName Property

Retrieves the path or title of the resource that is currently displayed.

Syntax

[ sLocationName = ] object.LocationName

Possible Values

sLocationNameString that receives the location name. The caller frees this buffer with SysFreeString.

The property is read-only. The property has no default value.

Remarks

If the resource is an HTML page on the World Wide Web, the name is the title of the document. If the resource is a folder or file on the network or local computer, the name is the full file system path of the folder or file in Universal Naming Convention (UNC) format.

If this method is called before the first navigation is complete, InternetExplorer returns an empty string and S_FALSE.

Applies To

InternetExplorer, WebBrowser

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker