IVsEnumOutputs.Next(UInt32, IVsOutput[], UInt32[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索枚举序列中指定数目的输出项。
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
中请求的元素数。
- pcElementsFetched
- UInt32[]
[out,optional]一个指针,指向中提供的元素的数目 rgpIVsOutput 。 如果 null 为一,则调用方可传入 cElements。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell:
HRESULT IVsEnumOutputs::Next(
[in] ULONG cElements,
[in, out, size_is(cElements)] IVsOutput *rgpIVsOutput[],
[out, optional] ULONG *pcElementsFetched
);