Sdílet prostřednictvím


IVsEnumDocumentPreviewers.Next(UInt32, IVsDocumentPreviewer[], UInt32) Method

Definition

Retrieves a specified number of document previewers in the enumeration sequence.

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

Parameters

celt
UInt32

[in] The requested number of document previewers to retrieve.

rgelt
IVsDocumentPreviewer[]

[out, size_is(celt), length_is(*pceltFetched)] The list of IVsEnumDocumentPreviewers objects that have been retrieved.

pceltFetched
UInt32

[out] Pointer to the actual number of document previewers supplied in rgelt. Returns null if celt is one.

Returns

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

Applies to