共用方式為


IVsEnumSelectedSymbols.Next(UInt32, IVsSelectedSymbol[], UInt32) Method

Definition

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

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

Parameters

celt
UInt32

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

rgpIVsSelectedSymbol
IVsSelectedSymbol[]

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

pceltFetched
UInt32

[out] Number of items returned. May be less than celt.

Returns

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

Applies to