ISettingNameTranslator.GetSharedNameFromPrivateName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.