GetInt32 | getInt32 method

StoreServicesExperimentVariation.GetInt32 | getInt32 method

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

Syntax


public:
int GetInt32(
  String^ name, 
  int defaultValue
)

Parameters

name

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

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

defaultValue

Type: Number [JavaScript] | System.Int32 [.NET] | int32 [C++]

The default value for the setting. The GetInt32 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.Int32 [.NET] | int32 [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