Méthode ITextRange2 ::GetProperty (tom.h)

Obtient la valeur d’une propriété.

Syntaxe

HRESULT GetProperty(
  [in]  long Type,
  [out] long *pValue
);

Paramètres

[in] Type

Type : long

ID de propriété.

[out] pValue

Type : long*

Valeur de la propriété.

Valeur retournée

Type : HRESULT

Si la méthode réussit, elle retourne NOERROR. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

Condition requise Valeur
Client minimal pris en charge Windows 8 [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2012 [applications de bureau uniquement]
Plateforme cible Windows
En-tête tom.h
DLL Msftedit.dll

Voir aussi

ITextRange2

ITextRange2 ::SetProperty