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


CHtmlView::GetSource

Call this member function to retrieve the HTML source code for the web page.

BOOL GetSource(
   CString& strRef 
);

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

Nonzero if successful; otherwise zero.

Параметры

  • refString
    A CString that will hold the source code.

Заметки

This function is equivalent to the "View Source" command in Internet Explorer, except that the source code is returned in a CString.

Требования

Header: afxhtml.h

См. также

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

CHtmlView Class

CHtmlView Members

Hierarchy Chart