StoreServicesExperimentVariation.GetBoolean(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual bool GetBoolean(Platform::String ^ name, bool defaultValue) = GetBoolean;
bool GetBoolean(winrt::hstring const& name, bool const& defaultValue);
public bool GetBoolean(string name, bool defaultValue);
function getBoolean(name, defaultValue)
Public Function GetBoolean (name As String, defaultValue As Boolean) As Boolean
Parameters
- name
-
String
Platform::String
winrt::hstring
The name of the Boolean setting value that you want to retrieve.
- defaultValue
-
Boolean
bool
The default value for the setting. The GetBoolean 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
bool
A variation value for the setting specified by the name parameter.