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


CHtmlView::PutProperty

Call this member function to set the property associated with a given object.

void PutProperty(
   LPCTSTR lpszProperty,
   const VARIANT& vtValue 
);
void PutProperty(
   LPCTSTR lpszPropertyName,
   double dValue 
);
void PutProperty(
   LPCTSTR lpszPropertyName,
   long lValue 
);
void PutProperty(
   LPCTSTR lpszPropertyName,
   LPCTSTR lpszValue 
);
void PutProperty(
   LPCTSTR lpszPropertyName,
   short nValue 
);

Параметры

  • lpszProperty
    A string containing the property to set.

  • vtValue
    The new value of the property indicated by lpszProperty.

  • lpszPropertyName
    A pointer to a string containing the name of the property to set.

  • dValue
    The new value of the property.

  • lValue
    The new value of the property.

  • lpszValue
    A pointer to a string containing the new value of the property.

  • nValue
    The new value of the property.

Заметки

Applies to Internet Explorer and WebBrowser.

Требования

Header: afxhtml.h

См. также

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

CHtmlView Class

CHtmlView Members

Hierarchy Chart

CHtmlView::GetProperty

IWebBrowser2::PutProperty