« COMPersistHelper::GetMaxStreamSize
COMPersistHelper::LoadFromFile »

COMPersistHelper::InitNew

(PHP 5, PHP 7, PHP 8)

COMPersistHelper::InitNew — オブジェクトをデフォルトの状態に初期化する

説明

public function COMPersistHelper::InitNew(): bool

オブジェクトをデフォルトの状態に初期化します

パラメータ

この関数にはパラメータはありません。

戻り値

成功した場合に true を、失敗した場合に false を返します。

エラー / 例外

関連付けられたオブジェクトが COM のインターフェイス IPersistStreamInit を実装していないか、 IPersistStreamInit::Init() の呼び出しに失敗した場合、 com_exception がスローされます。

関連キーワード:
COMPersistHelper   初期化   InitNew   IPersistStreamInit   GetMaxStreamSize   LoadFromFile   成功   関連   インターフェイス   実装   Init   exception
関連する関数・ページ:
class.compersisthelper   compersisthelper.loadfromfile   compersisthelper.getmaxstreamsize   compersisthelper.construct   compersisthelper.getcurfilename   compersisthelper.loadfromstream