GetDouble | getDouble method

StoreServicesExperimentVariation.GetDouble | getDouble method

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

Syntax


public:
double GetDouble(
  String^ name, 
  double defaultValue
)

Parameters

name

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

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

defaultValue

Type: Number [JavaScript] | System.Double [.NET] | float64 [C++]

The default value for the setting. The GetDouble 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: Number [JavaScript] | System.Double [.NET] | float64 [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