Freigeben über


IVsEnumExternalErrors.Next(UInt32, ExternalError[], UInt32) Method

Definition

Returns the next set of elements from the enumeration.

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

Parameters

celt
UInt32

[in] The number of elements to retrieve. Also specifies the maximum size of the rgelt array.

rgelt
ExternalError[]

[in, out] An array of ExternalError objects to be filled in.

pceltFetched
UInt32

[out] Returns the number of elements actually returned in the rgelt array.

Returns

If successful, returns S_OK. Returns S_FALSE if fewer than the requested number of elements could be returned. Otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT Next(  
   [in]      ULONG          celt,  
   [in, out] ExternalError *rgelt,  
   [out]     ULONG*         pceltFetched  
);  

Applies to