Compartilhar via


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

Definition

Retrieves the next system assembly.

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

Parameters

celt
UInt32

The number of assemblies to return.

rgAssemblies
String[]

A reference to the returned assemblies.

pceltFetched
UInt32

Number of system assemblies returned.

Returns

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

Remarks

From compsvcspkg90.idl:

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

Applies to