« COMPersistHelper::__construct
COMPersistHelper::GetMaxStreamSize »

COMPersistHelper::GetCurFileName

(PHP 5, PHP 7, PHP 8)

COMPersistHelper::GetCurFileName — 現在のファイル名を取得する

説明

public function COMPersistHelper::GetCurFileName(): string|false

オブジェクトに関連付けられた現在のファイル名を取得します。

パラメータ

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

戻り値

オブジェクトに関連付けられた現在のファイル名を返します。

エラー / 例外

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

関連キーワード:
COMPersistHelper   GetCurFileName   関連   IPersistFile   construct   GetMaxStreamSize   インターフェイス   実装   GetCurFile   exception
関連する関数・ページ:
compersisthelper.construct   class.compersisthelper   compersisthelper.getmaxstreamsize   compersisthelper.loadfromfile   compersisthelper.savetofile   compersisthelper.initnew