Save(bag, clearDirty, saveProperties)
Called by the container to save the object's properties.
Parameters
bag : PyIPropertyBag
the caller's property bag.clearDirty : int
Specifies whether to clear the dirty flag.saveProperties : int
Specifies whether to save all properties or just those that
have changed