<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.compersisthelper.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'compersisthelper.getmaxstreamsize.php',
    1 => 'COMPersistHelper::GetMaxStreamSize',
    2 => 'Get maximum stream size',
  ),
  'up' => 
  array (
    0 => 'class.compersisthelper.php',
    1 => 'COMPersistHelper',
  ),
  'prev' => 
  array (
    0 => 'compersisthelper.getcurfilename.php',
    1 => 'COMPersistHelper::GetCurFileName',
  ),
  'next' => 
  array (
    0 => 'compersisthelper.initnew.php',
    1 => 'COMPersistHelper::InitNew',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/com/compersisthelper/getmaxstreamsize.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="compersisthelper.getmaxstreamsize" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">COMPersistHelper::GetMaxStreamSize</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">COMPersistHelper::GetMaxStreamSize</span> &mdash; <span class="dc-title">Get maximum stream size</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-compersisthelper.getmaxstreamsize-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><strong>COMPersistHelper::GetMaxStreamSize</strong></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   Retrieves the size of the stream (in bytes) needed to save the object.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-compersisthelper.getmaxstreamsize-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">This function has no parameters.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-compersisthelper.getmaxstreamsize-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns the size of the stream (in bytes) needed to save the object.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-compersisthelper.getmaxstreamsize-errors">
  <h3 class="title">Errors/Exceptions</h3>
  <p class="para">
   A <span class="classname"><a href="class.com-exception.php" class="classname">com_exception</a></span> is thrown if the associated object does neither
   implement the <abbr>COM</abbr> interface <span class="interfacename"><strong class="interfacename">IPersistStream</strong></span>
   nor <span class="interfacename"><strong class="interfacename">IPersistStreamInit</strong></span>, or when calling the
   <span class="methodname"><strong>IPersistStream::GetSizeMax()</strong></span> method failed.
  </p>
 </div>


</div><?php manual_footer($setup); ?>