Partager via


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

Crée un objet IPropertyValue qui contient le tableau spécifié de valeurs Rect .

Syntaxe

HRESULT CreateRectArray(
                UINT32                         valueLength,
  [in]          ABI::Windows::Foundation::Rect *value,
  [out, retval] IInspectable                   **propertyValue
);

Paramètres

valueLength

[in] value

Type : Rect*

Tableau de valeurs Rect à 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 ::GetRectArray

IPropertyValueStatics