IVsEnumSelectedSymbols.Next(UInt32, IVsSelectedSymbol[], UInt32) 方法

定义

返回由接口表示的下一个或多个所选符号 IVsSelectedSymbol

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

参数

celt
UInt32

中要在此调用中提取的符号数。

rgpIVsSelectedSymbol
IVsSelectedSymbol[]

弄接口的数组 IVsSelectedSymbol 。 数组的长度是指向的值 pceltFetched

pceltFetched
UInt32

弄返回的项数。 可以小于 celt

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell80:

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

适用于