IHTMLDocument2::nameProp Property

Gets the title of the document file.

Syntax

HRESULT IHTMLDocument2::get_nameProp(BSTR *p);

Parameters

  • p
    The address of a string variable that receives the file name.

Return Value

Returns S_OK if successful, or an error value otherwise.