BeginEnumeration

Locks an HsvMDDataBuffer object, and returns the number of subcubes contained by the object. You can then pass the number of subcubes to methods that require a subcube index.

Caution!

Call EndEnumeration once you have finished working with an HsvMDDataBuffer object, otherwise the object will not be unlocked and errors could occur.

Syntax

<HsvMDDataBuffer>.BeginEnumeration plNumCubes

Argument

Description

plNumCubes

Long. Returns the number of subcubes in the HsvMDDataBuffer object.

Example

BeginEnumeration is used in the Example for GetDataAtIndex.