Retrieves the title of the document. The title identifies the contents of the document and is displayed in the header bar of the document window.
Syntax
HRESULT get_title( BSTR *p );
Parameters
- p
- Address of a string variable that receives the title.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This function retrieves the TITLE object in the document header (defined by the HEAD object).
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the title of the document. The title identifies the contents of the document and is displayed in the header bar of the document window.
Syntax
HRESULT put_title( BSTR v );
Parameters
- v
- String that specifies the document title.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This function sets the TITLE object in the document header (defined by the HEAD object).
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0