IVsEnumDocumentPreviewers.Next(UInt32, IVsDocumentPreviewer[], UInt32) 方法

定义

检索枚举序列中指定数量的文档预览。

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

参数

celt
UInt32

中要检索的文档预览的请求数。

rgelt
IVsDocumentPreviewer[]

[out,size_is (celt) ,length_is ( * pceltFetched) ]已检索的 IVsEnumDocumentPreviewers 对象的列表。

pceltFetched
UInt32

弄一个指针,指向在中提供的文档预览的实际数量 rgelt 。 如果 celt 为 one,则返回 null。

返回

Int32

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

适用于