Freigeben über


IVsStrongNameKeys.EnumContainers Method

Definition

Enumerates the key containers in the specified cryptography provider.

public:
 int EnumContainers(System::String ^ szProvider, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsEnumCryptoProviderContainers ^ % ppEnumContainers);
public:
 int EnumContainers(Platform::String ^ szProvider, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsEnumCryptoProviderContainers ^ &  ppEnumContainers);
int EnumContainers(std::wstring const & szProvider, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsEnumCryptoProviderContainers const & & ppEnumContainers);
public int EnumContainers (string szProvider, out Microsoft.VisualStudio.Shell.Interop.IVsEnumCryptoProviderContainers ppEnumContainers);
abstract member EnumContainers : string * IVsEnumCryptoProviderContainers -> int
Public Function EnumContainers (szProvider As String, ByRef ppEnumContainers As IVsEnumCryptoProviderContainers) As Integer

Parameters

szProvider
String

[in] The cryptography provider.

ppEnumContainers
IVsEnumCryptoProviderContainers

[out] The enumerator for all of the key containers in a cryptography provider.

Returns

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

Applies to