Share via


CertificateStores.GetUserStoreByName(String) Method

Definition

Gets a user certificate store from the collection of certificate stores by name.

public:
 static UserCertificateStore ^ GetUserStoreByName(Platform::String ^ storeName);
 static UserCertificateStore GetUserStoreByName(winrt::hstring const& storeName);
public static UserCertificateStore GetUserStoreByName(string storeName);
function getUserStoreByName(storeName)
Public Shared Function GetUserStoreByName (storeName As String) As UserCertificateStore

Parameters

storeName
String

Platform::String

winrt::hstring

The name of the user certificate store to return.

Returns

The user certificate store.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to