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

'宣言
Function Next ( _
    celt As UInteger, _
    <OutAttribute> rgpIVsSelectedSymbol As IVsSelectedSymbol(), _
    <OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
'使用
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
)
function Next(
    celt : uint, 
    rgpIVsSelectedSymbol : IVsSelectedSymbol[], 
    pceltFetched : uint
) : int

Parameters

  • celt
    Type: System.UInt32

    [in] The number of symbols to fetch in this call.

  • rgpIVsSelectedSymbol
    Type: []

    [out] Array of IVsSelectedSymbol interfaces. Length of the array is the value pointed to by pceltFetched.

  • 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
);

Permissions

See Also

Reference

IVsEnumSelectedSymbols Interface

IVsEnumSelectedSymbols Members

Microsoft.VisualStudio.Shell.Interop Namespace