Delen via


IDiaEnumTables::Next

Retrieves a specified number of tables in the enumeration sequence.

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

Parameters

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

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

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

Return Value

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

See Also

Reference

IDiaEnumTables

IDiaTable