« COMPersistHelper::GetCurFileName
COMPersistHelper::InitNew »

COMPersistHelper::GetMaxStreamSize

(PHP 5, PHP 7, PHP 8)

COMPersistHelper::GetMaxStreamSize — ストリームのサイズの最大値を取得する

説明

public function COMPersistHelper::GetMaxStreamSize(): int

オブジェクトを保存するのに必要なストリームのサイズを取得します(バイト単位)。

パラメータ

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

戻り値

オブジェクトを保存するのに必要なストリームのサイズを返します(バイト単位)。

エラー / 例外

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

関連キーワード:
COMPersistHelper   ストリーム   最大値   GetMaxStreamSize   バイト   単位   IPersistStream   GetCurFileName   InitNew   関連   インターフェイス   IPersistStreamInit   実装   GetSizeMax   exception
関連する関数・ページ:
class.compersisthelper   compersisthelper.loadfromstream   compersisthelper.savetostream   compersisthelper.getcurfilename   compersisthelper.initnew   compersisthelper.construct