(PHP 5, PHP 7, PHP 8)
COMPersistHelper::GetCurFileName — 取得目前檔案名稱
擷取與物件關聯的目前檔案名稱。
此函式沒有參數。
傳回與物件關聯的目前檔案名稱。
如果關聯的物件沒有實作 COM 介面 IPersistFile,或者呼叫 IPersistFile::GetCurFile() 方法失敗,則會擲出 com_exception。