CHtmlView::GetProperty

BOOL GetProperty( LPCTSTR lpszProperty, CString& strValue );

COleVariant GetProperty( LPCTSTR lpsz );

Return Value

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

Parameters

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.

lpsz

A pointer to a string containing the property to retrieve.

Remarks

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

Applies to Internet Explorer and WebBrowser.

CHtmlView OverviewClass MembersHierarchy Chart

See Also   CHtmlView::PutProperty, IWebBrowser2::GetProperty