IVsEnumOutputs.Next(UInt32, IVsOutput[], UInt32[]) 方法

定义

检索枚举序列中指定数目的输出项。

int Next(unsigned int cElements, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsOutput const &> const & rgpIVsOutput, std::Array <unsigned int> const & pcElementsFetched);
public int Next (uint cElements, Microsoft.VisualStudio.Shell.Interop.IVsOutput[] rgpIVsOutput, uint[] pcElementsFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsOutput[] * uint32[] -> int
Public Function Next (cElements As UInteger, rgpIVsOutput As IVsOutput(), Optional pcElementsFetched As UInteger()) As Integer

参数

cElements
UInt32

中请求的元素数。

rgpIVsOutput
IVsOutput[]

[in,out,size_is (cElements) ]指向 IVsOutput 属于请求的输出项的接口数组的指针。

pcElementsFetched
UInt32[]

[out,optional]一个指针,指向中提供的元素的数目 rgpIVsOutput 。 如果 null 为一,则调用方可传入 cElements

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell:

HRESULT IVsEnumOutputs::Next(  
   [in] ULONG cElements,  
   [in, out, size_is(cElements)] IVsOutput *rgpIVsOutput[],  
   [out, optional] ULONG *pcElementsFetched  
);  

适用于