共用方式為


IEEDataStorage::GetSize

Returns the number of bytes contained in this object.

HRESULT GetSize(
   ULONG* size
);
int GetSize(
   out uint size
);

Parameters

  • size
    [out] The number of bytes contained in this object.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Use the IEEDataStorage::GetData method to retrieve the actual data bytes.

See Also

Reference

IEEDataStorage

IEEDataStorage::GetData