Partager via


IEnumWindowFrames.Next(UInt32, IVsWindowFrame[], UInt32) Method

Definition

Retrieves the next group of window frame interfaces (IVsWindowFrame).

public:
 int Next(System::UInt32 celt, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
int Next(unsigned int celt, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame const &> const & rgelt, [Runtime::InteropServices::Out] unsigned int & pceltFetched);
public int Next (uint celt, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame[] * uint32 -> int
Public Function Next (celt As UInteger, rgelt As IVsWindowFrame(), ByRef pceltFetched As UInteger) As Integer

Parameters

celt
UInt32

[in] Number of window frame interfaces to return, or zero to indicate a request for all of the objects.

rgelt
IVsWindowFrame[]

[out] An array of IVsWindowFrame objects. Contains pceltFetched objects.

pceltFetched
UInt32

[out] Actual number of interfaces retrieved.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

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

Applies to