Partager via


ISettingNameTranslator.GetPrivateNameFromSharedName(String) Method

Definition

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

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

Parameters

sharedName
String

The shared name.

Returns

The private name.

Exceptions

May be thrown when sharedName is null.

May be thrown when sharedName is empty.

Applies to