共用方式為


Next method

Gets a number of elements in the enumeration sequence and advances the current position by that number of items.

Syntax

HRESULT retVal = object.Next(celt, rgelt, pceltFetched);

Parameters

  • celt [in]
    Type: unsigned long

    The number of elements to get.

  • rgelt [out]
    Type: IJavaFile

    The address of an IJavaFile pointer array.

  • pceltFetched [out]
    Type: unsigned long

    A pointer to the number of elements fetched.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.