Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a specified number of document previewers in the enumeration sequence.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Function Next ( _
    celt As UInteger, _
    <OutAttribute> rgelt As IVsDocumentPreviewer(), _
    <OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
int Next(
    uint celt,
    IVsDocumentPreviewer[] rgelt,
    out uint pceltFetched
)
int Next(
    [InAttribute] unsigned int celt, 
    [OutAttribute] array<IVsDocumentPreviewer^>^ rgelt, 
    [OutAttribute] unsigned int% pceltFetched
)
abstract Next : 
        celt:uint32 * 
        rgelt:IVsDocumentPreviewer[] byref * 
        pceltFetched:uint32 byref -> int
function Next(
    celt : uint, 
    rgelt : IVsDocumentPreviewer[], 
    pceltFetched : uint
) : int
Parameters
celt
Type: System.UInt32[in] The requested number of document previewers to retrieve.
rgelt
Type: array<Microsoft.VisualStudio.Shell.Interop.IVsDocumentPreviewer[][out, size_is(celt), length_is(*pceltFetched)] The list of IVsEnumDocumentPreviewers objects that have been retrieved.
pceltFetched
Type: System.UInt32%[out] Pointer to the actual number of document previewers supplied in rgelt. Returns null if celt is one.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.