CHtmlView::PutProperty

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 );

Parameters

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.

Remarks

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

Applies to Internet Explorer and WebBrowser.

CHtmlView OverviewClass MembersHierarchy Chart

See Also   CHtmlView::GetProperty, IWebBrowser2::PutProperty