Share via


Méthode IXpsOMCoreProperties ::SetTitle (xpsobjectmodel.h)

Définit la propriété title .

Syntaxe

HRESULT SetTitle(
  [in] LPCWSTR title
);

Paramètres

[in] title

Chaîne à écrire dans la propriété title . Un pointeur NULL efface la propriété title .

Valeur retournée

Si la méthode réussit, elle retourne S_OK ; sinon, elle retourne un code d’erreur HRESULT .

Remarques

La propriété title contient le nom donné à la ressource.

Configuration requise

   
Client minimal pris en charge Windows 7, Windows Vista avec SP2 et Mise à jour de plateforme pour Windows Vista [applications de bureau | Applications UWP]
Serveur minimal pris en charge Windows Server 2008 R2, Windows Server 2008 avec SP2 et Platform Update pour Windows Server 2008 [applications de bureau | Applications UWP]
Plateforme cible Windows
En-tête xpsobjectmodel.h

Voir aussi

IXpsOMCoreProperties

Standard ECMA-376, Formats de fichier Open XML Office

XML Paper Specification