Condividi tramite


GetTitle method

Gets the title of a page in a travel log.

Syntax

var retval = TravelLogEntry.GetTitle();

Parameters

  • ppszTitle [out]
    Type: LPWSTR

    A pointer to a string that contains the title of a travel log page. If there is no title, the method returns the URL of the page.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The caller is responsible for releasing the string containing the title by calling CoTaskMemFree.