Udostępnij za pośrednictwem


Metoda IEnumHierarchies.Next — (UInt32, IVsHierarchy , UInt32)

 

Pobiera następnej grupy interfejsów hierarchii (IVsHierarchy).

Przestrzeń nazw:   Microsoft.VisualStudio.Shell.Interop
Zestaw:  Microsoft.VisualStudio.Shell.Interop (w Microsoft.VisualStudio.Shell.Interop.dll)

Składnia

int Next(
    uint celt,
    IVsHierarchy[] rgelt,
    out uint pceltFetched
)
int Next(
    unsigned int celt,
    array<IVsHierarchy^>^ rgelt,
    [OutAttribute] unsigned int% pceltFetched
)
abstract Next : 
        celt:uint32 *
        rgelt:IVsHierarchy[] *
        pceltFetched:uint32 byref -> int
Function Next (
    celt As UInteger,
    rgelt As IVsHierarchy(),
    <OutAttribute> ByRef pceltFetched As UInteger
) As Integer

Parametry

  • celt
    Type: System.UInt32

    [in] Liczba hierarchii do zwrotu lub wartość zero, aby wskazać żądania dla wszystkich obiektów.

  • pceltFetched
    Type: System.UInt32

    [out] Rzeczywista liczba hierarchii interfejsy pobrać.

Wartość zwracana

Type: System.Int32

Jeśli metoda zakończy się pomyślnie, zwraca S_OK. Jeśli nie, zwraca kod błędu.

Uwagi

Podpis COM

Z vsshell.idl:

[C++]

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

Zobacz też

Interfejs IEnumHierarchies
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop

Powrót do początku