StoreServicesExperimentVariation.GetString(String, 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.
public:
virtual Platform::String ^ GetString(Platform::String ^ name, Platform::String ^ defaultValue) = GetString;
winrt::hstring GetString(winrt::hstring const& name, winrt::hstring const& defaultValue);
public string GetString(string name, string defaultValue);
function getString(name, defaultValue)
Public Function GetString (name As String, defaultValue As String) As String
Parameters
- name
-
String
Platform::String
winrt::hstring
The name of the String setting value that you want to retrieve.
- defaultValue
-
String
Platform::String
winrt::hstring
The default value for the setting. The GetString method returns this default value if it is not able to retrieve the specified value from Partner Center (for example, if there is no network connectivity), and a cached version of the variation is not available.
Returns
A variation value for the setting specified by the name parameter.