IEnumHierarchies::Next Method (UInt32, array<IVsHierarchy^>^, UInt32)
Visual Studio 2015
Retrieves the next group of hierarchy interfaces (IVsHierarchy).
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int Next( unsigned int celt, array<IVsHierarchy^>^ rgelt, [OutAttribute] unsigned int% pceltFetched )
Parameters
- celt
-
Type:
System::UInt32
[in] Number of hierarchies to return, or zero to indicate a request for all of the objects.
- rgelt
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^>^
[out] An array of IVsHierarchy objects. Contains pceltFetched objects.
- pceltFetched
-
Type:
System::UInt32
[out] Actual number of hierarchy interfaces retrieved.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
[C++]
HRESULT IEnumHierarchies::Next( [in] ULONG celt, [out, size_is(celt), length_is(*pceltFetched)] IVsHierarchy **rgelt, [out] ULONG *pceltFetched );
Show: