Поделиться через


CHtmlView::GetLocationName

Call this member function to get the name of the resource being displayed in the WebBrowser.

CString GetLocationName( ) const;

Возвращаемое значение

A CString object containing the name of the resource currently displayed in the WebBrowser.

Заметки

If the resource is an HTML page on the World Wide Web, the name is the title of that page. If the resource is a folder or file on the network or local computer, the name is the UNC or full path of the folder or file.

Applies to Internet Explorer and WebBrowser.

Требования

Header: afxhtml.h

См. также

Основные понятия

CHtmlView Class

CHtmlView Members

Hierarchy Chart

CHtmlView::GetLocationURL

IWebBrowser2::get_LocationName