IPropertyBag2::WriteIPropertyBag2::Write*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IPropertyBag2::Read
*Next Topic: PROPBAG2

IPropertyBag2::Write

 HRESULT Write(
    [in] ULONG cProperties,
    [in] PROPBAG2 * pPropBag,
    [in] VARIANT * pvarValue
);

Causes one or more properties to be saved into the property bag.

cProperties
[in] Number of properties to save. This argument specifies the number of elements in the arrays at pPropBag and pvarValue.
pPropBag
[in] Address of an array of PROPBAG2 structures that specify the properties being saved. The pstrName member of these structures must be filled in before calling this method. The dwHint member of these structures is optional. There must be at least cProperties elements in this array. This argument cannot be NULL.
pvarValue
[out] Address of an array of VARIANT structures that contain the property values to be saved. There must be at least cProperties elements in this array. This argument cannot be NULL.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.