Partager via


ISettingNameTranslator.GetSharedNameFromPrivateName(String) Method

Definition

Given the name of a setting in the private store, returns the name by which the setting should be identified in the shared and online stores.

public:
 System::String ^ GetSharedNameFromPrivateName(System::String ^ privateName);
public:
 Platform::String ^ GetSharedNameFromPrivateName(Platform::String ^ privateName);
std::wstring GetSharedNameFromPrivateName(std::wstring const & privateName);
public string GetSharedNameFromPrivateName (string privateName);
abstract member GetSharedNameFromPrivateName : string -> string
Public Function GetSharedNameFromPrivateName (privateName As String) As String

Parameters

privateName
String

The private name.

Returns

The shared name.

Exceptions

May be thrown when privateName is null.

May be thrown when privateName is empty.

Applies to