Share via


IEnumString.RemoteNext method

Retrieves a specified number of items in the enumeration sequence.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Sub RemoteNext ( _
    celt As UInteger, _
    <OutAttribute> ByRef rgelt As String, _
    <OutAttribute> ByRef pceltFetched As UInteger _
)
'Usage
Dim instance As IEnumString
Dim celt As UInteger
Dim rgelt As String
Dim pceltFetched As UInteger

instance.RemoteNext(celt, rgelt, pceltFetched)
void RemoteNext(
    uint celt,
    out string rgelt,
    out uint pceltFetched
)

Parameters

  • celt
    Type: System.UInt32

    The number of string values being requested.

  • rgelt
    Type: System.String

    An array of size celt (or larger) of the string values.

  • pceltFetched
    Type: System.UInt32

    A pointer to the number of elements actually supplied in rgelt. Caller can pass in NULL if celt is one.

Remarks

Returns S_OK if the number of elements supplied is celt; S_FALSE otherwise.

See also

Reference

IEnumString interface

IEnumString members

Microsoft.Office.Interop.InfoPath namespace