共用方式為


IDiaEnumFrameData::Next

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Retrieves a specified number of frame data elements in the enumeration sequence.

Syntax

HRESULT Next (   
   ULONG           celt,   
   IDiaFrameData** rgelt,  
   ULONG*          pceltFetched  
);  

Parameters

celt
[in] The number of frame data elements in the enumerator to be retrieved.

rgelt
[out] An array of IDiaFrameData objects to be filled in with the requested frame data elements.

pceltFetched
[out] Returns the number of frame data elements in the fetched enumerator.

Return Value

If successful, returns S_OK. Returns S_FALSE if there are no more records. Otherwise, returns an error code.

See Also

IDiaEnumFrameData
IDiaFrameData