Επεξεργασία

Κοινή χρήση μέσω


IDocViewSite::OnSetTitle method (shlobj.h)

Sets or retrieves the title of the site object.

Syntax

HRESULT OnSetTitle(
  [in] VARIANTARG *pvTitle
);

Parameters

[in] pvTitle

Type: VARIANTARG*

Specifies the view title.

Return value

Type: HRESULT

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

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shlobj.h
Library Shell32.lib
DLL Shell32.dll (version 4.0 or later)