IXpsOMShareable::GetType, méthode (xpsobjectmodel.h)

Obtient le type d’objet de l’interface.

Syntaxe

HRESULT GetType(
  [out, retval] XPS_OBJECT_TYPE *type
);

Paramètres

[out, retval] type

Valeur XPS_OBJECT_TYPE qui décrit l’interface dérivée d’IXpsOMShareable.

Valeur retournée

Cette méthode retourne un code HRESULT. Les valeurs possibles incluent, mais ne sont pas limitées à celles de la table qui suit. Pour plus d’informations sur les valeurs de retour de l’API de document XPS qui ne sont pas répertoriées dans ce tableau, consultez Erreurs de document XPS.

Code de retour Description
S_OK
S_OK
E_POINTER
le type est NULL.

Configuration requise

   
Client minimal pris en charge Windows 7, Windows Vista avec SP2 et Platform Update 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

IXpsOMShareable