共用方式為


GetSizeMax method

Returns the size, in bytes, of the stream required to save the object.

Syntax

HRESULT retVal = object.GetSizeMax(pCbSize);

Parameters

  • pCbSize [out]
    Type: unsigned long

    The address of an unsigned integer value indicating the size, in bytes, of the stream required to save the object.