The Write method updates a value in a PropertyBag collection.
object.Write bstrPropertyName, Value
| Part | Description |
|---|---|
| object | Expression that evaluates to a PropertyBag object |
| bstrPropertyName | String identifying an exposed property by name |
| Value | Value of the property to be saved |
Generic BLOBs or objects are not supported as property values.
HRESULT Write(
BSTR bstrPropertyName,
VARIANT Value);