GetString | getString method

StoreServicesExperimentVariation.GetString | getString method

Returns a variation value for the specified String setting for an A/B experiment that you have configured in the Windows Dev Center dashboard.

Syntax


public:
String^ GetString(
  String^ name, 
  String^ defaultValue
)

Parameters

name

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The name of the String setting value that you want to retrieve.

defaultValue

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The default value for the setting. The GetString method returns this default value if it is not able to retrieve the specified value from Dev Center (for example, if there is no network connectivity), and a cached version of the variation is not available.

Return value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

A variation value for the setting specified by the name parameter.

Requirements

Minimum supported client

Windows 10

Minimum supported server

None supported

Minimum supported phone

Windows 10 Mobile

Namespace

Microsoft.Services.Store.Engagement
Microsoft::Services::Store::Engagement [C++]

Metadata

Microsoft.Services.Store.Engagement.winmd

See also

StoreServicesExperimentVariation

 

 

Show:
© 2017 Microsoft