Freigeben über


IVsEnumSelectedSymbols.Next Method

Returns the next one or more selected symbols represented by IVsSelectedSymbol interfaces.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function Next ( _
    celt As UInteger, _
    <OutAttribute> rgpIVsSelectedSymbol As IVsSelectedSymbol(), _
    <OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
'Usage
Dim instance As IVsEnumSelectedSymbols
Dim celt As UInteger
Dim rgpIVsSelectedSymbol As IVsSelectedSymbol()
Dim pceltFetched As UInteger
Dim returnValue As Integer

returnValue = instance.Next(celt, rgpIVsSelectedSymbol, _
    pceltFetched)
int Next(
    uint celt,
    IVsSelectedSymbol[] rgpIVsSelectedSymbol,
    out uint pceltFetched
)
int Next(
    [InAttribute] unsigned int celt, 
    [OutAttribute] array<IVsSelectedSymbol^>^ rgpIVsSelectedSymbol, 
    [OutAttribute] unsigned int% pceltFetched
)
abstract Next : 
        celt:uint32 * 
        rgpIVsSelectedSymbol:IVsSelectedSymbol[] byref * 
        pceltFetched:uint32 byref -> int 
function Next(
    celt : uint, 
    rgpIVsSelectedSymbol : IVsSelectedSymbol[], 
    pceltFetched : uint
) : int

Parameters

  • celt
    Type: System.UInt32
    [in] The number of symbols to fetch in this call.
  • pceltFetched
    Type: System.UInt32%
    [out] Number of items returned. May be less than celt.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsEnumSelectedSymbols::Next(
   [in] ULONG celt, 
   [out, size_is(celt), length_is(*pceltFetched)] IVsSelectedSymbol **rgpIVsSelectedSymbol, 
   [out] ULONG *pceltFetched
);

.NET Framework Security

See Also

Reference

IVsEnumSelectedSymbols Interface

IVsEnumSelectedSymbols Members

Microsoft.VisualStudio.Shell.Interop Namespace