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


CHtmlView::GetProperty

Call this member function to get the value of the property currently associated with the control.

BOOL GetProperty(
   LPCTSTR lpszProperty,
   CString& strValue 
);
COleVariant GetProperty(
   LPCTSTR lpszProperty 
);

Параметры

  • lpszProperty
    A pointer to a string containing the property to retrieve.

  • strValue
    A reference to a CString object that receives the current value of the property.

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

In the first version, nonzero if completed successfully; otherwise zero. In the second version, a COleVariant object.

Заметки

Applies to Internet Explorer and WebBrowser.

Требования

Header: afxhtml.h

См. также

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

CHtmlView Class

CHtmlView Members

Hierarchy Chart

CHtmlView::PutProperty

IWebBrowser2::GetProperty