![]()  | ||
  | ||
  | ||
IHTMLDocument2::get_title
HRESULT get_title( BSTR *p );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.
- Returns S_OK if successful, or an error value otherwise.
 
- p
 - Address of a string variable that receives the title.
 This function retrieves the TITLE object in the document header (defined by the HEAD object).
See also put_title
IHTMLDocument2::put_title
HRESULT put_title( BSTR v );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.
- Returns S_OK if successful, or an error value otherwise.
 
- v
 - String specifying the document title.
 This function sets the TITLE object in the document header (defined by the HEAD object).
See also get_title
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.