次の方法で共有


StoreServicesExperimentVariation.GetDouble(String, Double) Method

Definition

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

public:
 virtual double GetDouble(Platform::String ^ name, double defaultValue) = GetDouble;
double GetDouble(winrt::hstring const& name, double const& defaultValue);
public double GetDouble(string name, double defaultValue);
function getDouble(name, defaultValue)
Public Function GetDouble (name As String, defaultValue As Double) As Double

Parameters

name
String

Platform::String

winrt::hstring

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

defaultValue
Double

double

The default value for the setting. The GetDouble 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

Double

double

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

Applies to