Compartir a través de


IEnumHierarchyItems.Next Method

Moves to the next item.

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

Syntax

'Declaración
Function Next ( _
    celt As UInteger, _
    <OutAttribute> rgelt As VSITEMSELECTION(), _
    <OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
'Uso
Dim instance As IEnumHierarchyItems
Dim celt As UInteger
Dim rgelt As VSITEMSELECTION()
Dim pceltFetched As UInteger
Dim returnValue As Integer

returnValue = instance.Next(celt, rgelt, _
    pceltFetched)
int Next(
    uint celt,
    VSITEMSELECTION[] rgelt,
    out uint pceltFetched
)
int Next(
    [InAttribute] unsigned int celt, 
    [OutAttribute] array<VSITEMSELECTION>^ rgelt, 
    [OutAttribute] unsigned int% pceltFetched
)
abstract Next : 
        celt:uint32 * 
        rgelt:VSITEMSELECTION[] byref * 
        pceltFetched:uint32 byref -> int 
function Next(
    celt : uint, 
    rgelt : VSITEMSELECTION[], 
    pceltFetched : uint
) : int

Parameters

  • pceltFetched
    Type: System.UInt32%
    [in] The number of elements selected

Return Value

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

Remarks

COM Signature

From vsshell.idl:

[C++]

HRESULT IEnumHierarchyItems::Next(
   [in] ULONG celt, 
   [out, size_is(celt), length_is(*pceltFetched)] VSITEMSELECTION *rgelt, 
   [out] ULONG *pceltFetched
);

.NET Framework Security

See Also

Reference

IEnumHierarchyItems Interface

IEnumHierarchyItems Members

Microsoft.VisualStudio.Shell.Interop Namespace