EnumerableComCollection<TComEnumerator, TEnumerated>.NextItems Method

Gets the specified number of items.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Public MustOverride Function NextItems ( _
    enumerator As TComEnumerator, _
    count As UInteger, _
    items As TEnumerated(), _
    <OutAttribute> ByRef fetched As UInteger _
) As Integer
public abstract int NextItems(
    TComEnumerator enumerator,
    uint count,
    TEnumerated[] items,
    out uint fetched
)
public:
virtual int NextItems(
    TComEnumerator enumerator, 
    unsigned int count, 
    array<TEnumerated>^ items, 
    [OutAttribute] unsigned int% fetched
) abstract
abstract NextItems : 
        enumerator:'TComEnumerator * 
        count:uint32 * 
        items:'TEnumerated[] * 
        fetched:uint32 byref -> int 
public abstract function NextItems(
    enumerator : TComEnumerator, 
    count : uint, 
    items : TEnumerated[], 
    fetched : uint
) : int

Parameters

  • fetched
    Type: System.UInt32%
    [out] The number of items that were returned.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IComEnumeratorRelay<TComEnumerator, TEnumerated>.NextItems(TComEnumerator, UInt32, array<TEnumerated[], UInt32%)

.NET Framework Security

See Also

Reference

EnumerableComCollection<TComEnumerator, TEnumerated> Class

Microsoft.VisualStudio.Shell Namespace