Share via


Méthode IPropertyValue ::GetDateTime (windows.foundation.h)

Obtient la valeur DateTime stockée dans l’objet IPropertyValue actuel.

Syntaxe

HRESULT GetDateTime(
  [out, retval] ABI::Windows::Foundation::DateTime *value
);

Paramètres

[out, retval] value

Type : DateTime*

La valeur.

Valeur retournée

Type : HRESULT

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

Spécifications

Condition requise Valeur
Client minimal pris en charge Windows 8
Serveur minimal pris en charge Windows Server 2012
Plateforme cible Windows
En-tête windows.foundation.h

Voir aussi

IPropertyValue

IPropertyValueStatics ::CreateDateTime