다음을 통해 공유


IDiaEnumSegments::Next

Retrieves a specified number of segments in the enumeration sequence.

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

Parameters

  • celt
    [in] The number of segments in the enumerator to be retrieved.

  • rgelt
    [out] An array that is to be filled in with the desired IDiaSegment objects that represent the segments.

  • pceltFetched
    [out] Returns the number of segments in the fetched enumerator.

Return Value

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

See Also

Reference

IDiaEnumSegments

IDiaSegment