Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
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 value otherwise.
Remarks
This function retrieves the TITLE object in the document header (defined by the HEAD object).
See Also
put_title
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 specifying the document title.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
This function sets the TITLE object in the document header (defined by the HEAD object).
See Also
get_title, IHTMLDocument2
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.