共用方式為


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

Definition

Returns the next one or more cryptographic service providers.

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

Parameters

celt
UInt32

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

pbstrProviders
String[]

[out, size_is(celt), length_is(*pceltFetched)] Array of strings containing the names of the service providers.

pceltFetched
UInt32

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

Returns

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

Applies to