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


CHtmlView::GetLocationURL

Call this member function to retrieve the URL of the resource that the WebBrowser control is currently displaying.

CString GetLocationURL( ) const;

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

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

Заметки

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::GetLocationName

IWebBrowser2::get_LocationURL