共用方式為


IEnumToolboxTabs.Next(UInt32, String[], UInt32) Method

Definition

Retrieves the next group of toolbox tabs.

public:
 int Next(System::UInt32 celt, cli::array <System::String ^> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
int Next(unsigned int celt, std::Array <std::wstring const &> const & rgelt, [Runtime::InteropServices::Out] unsigned int & pceltFetched);
public int Next (uint celt, string[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * string[] * uint32 -> int
Public Function Next (celt As UInteger, rgelt As String(), ByRef pceltFetched As UInteger) As Integer

Parameters

celt
UInt32

[in] Number of toolbox tabs to return. If this value is zero, nothing is returned.

rgelt
String[]

[out] An array of strings. Contains pceltFetched objects.

pceltFetched
UInt32

[out] Actual number of toolbox tabs retrieved.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IEnumToolboxTabs::Next(  
   [in] ULONG celt,   
   [out, size_is(celt), length_is(*pceltFetched)] BSTR *rgelt,   
   [out] ULONG *pceltFetched  
);  

Applies to