Share via


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

Définit la propriété identificateur .

Syntaxe

HRESULT SetIdentifier(
  [in] LPCWSTR identifier
);

Paramètres

[in] identifier

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

Valeur retournée

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

Remarques

La propriété identificateur est une référence non ambiguë à la ressource dans un contexte défini par l’utilisateur ou spécifique à l’application.

Configuration requise

Condition requise Valeur
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 Mise à jour de plateforme pour Windows Server 2008 [applications de bureau | Applications UWP]
Plateforme cible Windows
En-tête xpsobjectmodel.h

Voir aussi

IXpsOMCoreProperties

ECMA-376 standard, formats de fichier Office Open XML

XML Paper Specification