Description

Returns the number of bytes of stored in a McDBNode for the underlying Data.

Return Type

A Boolean value.   A Long with count of bytes.
Failure Returns -1..

Failure conditions:
Implementation defined.

Syntax

object.NodeGetDataSize (sDisplayName, pOverridden, pdatanodesCaller, plNodesLeft, pNode, sFileFolderPath, ecbOfWhat, plSizeBytes)

The NodeGetDataSize Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataHandler.
sDisplayNameRequired. A String value.
pOverriddenRequired. An IUnknown object.
pdatanodesCallerRequired. A McDataNodes object.
plNodesLeftRequired. A Long value.
pNodeRequired. A McDBNode object.
sFileFolderPathRequired. A String value.
ecbOfWhatRequired. A mcDataCountBytes enumeration, as described in settings.
plSizeBytesRequired. A Long value.

Settings

The settings for ecbOfWhat are:

ConstantValueDescription
 mcdatcb_ActualData0

Dereferenced (amount of storage for serialized object itself).

 mcdatcb_DataStorage1

Storage displacement (actually stored in the database node).

Remarks

For mcdatcb_ActualData, the McDataHandler should return the natural size of the object stored. For mcdatcb_DataStorage, the McDataHandler should return the actual size of the object stored for the object. In both cases any storage overhead used by the database should be ignored.