BeginEnumeration

Locks an HsvMDDataBufferLite 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 HsvMDDataBufferLite object, otherwise the object will not be unlocked and errors could occur.

Syntax

<HsvMDDataBufferLite>.BeginEnumeration plNumCubes

Argument

Description

plNumCubes

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

Example

BeginEnumeration is used in the Example for GetDataAtIndex.