Freigeben über


IVsEnumIndependentViews.Next(UInt32, Object[], UInt32) Method

Definition

Retrieves independent views from the enumeration sequence.

public:
 int Next(System::UInt32 celt, cli::array <System::Object ^> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
int Next(unsigned int celt, std::Array <winrt::Windows::Foundation::IInspectable const &> const & rgelt, [Runtime::InteropServices::Out] unsigned int & pceltFetched);
public int Next (uint celt, object[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * obj[] * uint32 -> int
Public Function Next (celt As UInteger, rgelt As Object(), ByRef pceltFetched As UInteger) As Integer

Parameters

celt
UInt32

[in] The requested number of independent views to retrieve.

rgelt
Object[]

[out, size_is(celt)] The list of IVsTextView objects that have been retrieved.

pceltFetched
UInt32

[out] Pointer to the actual number of hidden regions supplied in pceltFetched. The caller of this method can set this to null if celt is one.

Returns

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

Remarks

COM Signature

From textmgr.idl:

[C++]

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

Applies to