PyIPropertyBag.Read

object = Read(propName, propType , errorLog )

Called by the control to read a property from the storage provided by the container.

Parameters

propName : str

Name of the property to read.

propType : int

The type of the object to read. Must be a VT_* Variant Type constant.

errorLog=None : PyIErrorLog

The caller's PyIErrorLog object in which the property bag stores any errors that occur during reads. Can be None in which case the caller is not interested in errors.

Comments

The result is a Python object, mapped from a COM VARIANT of type as specified in the propType parameter.