Compartilhar via


EnumerableHierarchiesCollection.NextItems Method

Gets the specified number of items.

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

Syntax

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

Parameters

  • count
    Type: UInt32

    The number of items to get.

  • fetched
    Type: UInt32%

    [out] The number of items that were returned.

Return Value

Type: Int32

Implements

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

.NET Framework Security

See Also

Reference

EnumerableHierarchiesCollection Class

Microsoft.VisualStudio.Shell Namespace