COMPersistHelper::__construct

(PHP 5, PHP 7)

COMPersistHelper::__constructConstruct a COMPersistHelper object

Description

public COMPersistHelper::__construct ([ variant $com_object = NULL ] )

Constructs a persistence helper object, usually associated with a com_object.

Parameters

com_object
A COM object which implements IDispatch. To be able to successfully call any of COMPersistHelper's methods, the object has to implement IPersistFile, IPersistStream and/or IPersistStreamInit. Passing NULL as com_object is only useful if the object is to be loaded from a stream by calling COMPersistHelper::LoadFromStream().