Partager via


Méthode IPropertyValueStatics ::CreateUInt8Array (windows.foundation.h)

Crée un objet IPropertyValue qui contient le tableau spécifié de valeurs entières 8 bits non signées.

Syntaxe

HRESULT CreateUInt8Array(
                UINT32       valueLength,
  [in]          BYTE         *value,
  [out, retval] IInspectable **propertyValue
);

Paramètres

valueLength

[in] value

Type : BYTE*

Tableau de valeurs entières 8 bits non signées à stocker.

[out, retval] propertyValue

Type : IInspectable**

Pointeur vers un nouvel objet qui contient une valeur. Utilisez la méthode IUnknown ::QueryInterface pour obtenir l’interface IPropertyValue pour l’objet.

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 ::GetUInt8Array

IPropertyValueStatics