GetBoolean | getBoolean method

StoreServicesExperimentVariation.GetBoolean | getBoolean method

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

Syntax


public:
bool GetBoolean(
  String^ name, 
  bool defaultValue
)

Parameters

name

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

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

defaultValue

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

The default value for the setting. The GetBoolean 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: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [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