IHTMLDocument2::get_titleIHTMLDocument2::get_title*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLDocument2::put_title
*Next Topic: IHTMLDocument2::get_scripts

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.

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

Up Top of Page


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.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.