SettingsStore.GetBoolean SettingsStore.GetBoolean SettingsStore.GetBoolean SettingsStore.GetBoolean SettingsStore.GetBoolean SettingsStore.GetBoolean Method

Definition

Overloads

GetBoolean(String, String) GetBoolean(String, String) GetBoolean(String, String) GetBoolean(String, String) GetBoolean(String, String) GetBoolean(String, String)

Returns the value of the requested property whose data type is Int32 as boolean.

GetBoolean(String, String, Boolean) GetBoolean(String, String, Boolean) GetBoolean(String, String, Boolean) GetBoolean(String, String, Boolean) GetBoolean(String, String, Boolean) GetBoolean(String, String, Boolean)

Returns the value of the requested property whose data type is Int32 as boolean.

GetBoolean(String, String) GetBoolean(String, String) GetBoolean(String, String) GetBoolean(String, String) GetBoolean(String, String) GetBoolean(String, String)

Returns the value of the requested property whose data type is Int32 as boolean.

public:
 abstract bool GetBoolean(System::String ^ collectionPath, System::String ^ propertyName);
public:
 abstract bool GetBoolean(Platform::String ^ collectionPath, Platform::String ^ propertyName);
 abstract bool GetBoolean(std::wstring const & collectionPath, std::wstring const & propertyName);
public abstract bool GetBoolean (string collectionPath, string propertyName);
abstract member GetBoolean : string * string -> bool
Public MustOverride Function GetBoolean (collectionPath As String, propertyName As String) As Boolean
Parameters
collectionPath
String String String String String String

Path of the collection of the property.

propertyName
String String String String String String

Name of the property.

Returns

If the underling integer value for the property is non-zero, it returns true and false otherwise.

Exceptions

GetBoolean(String, String, Boolean) GetBoolean(String, String, Boolean) GetBoolean(String, String, Boolean) GetBoolean(String, String, Boolean) GetBoolean(String, String, Boolean) GetBoolean(String, String, Boolean)

Returns the value of the requested property whose data type is Int32 as boolean.

public:
 abstract bool GetBoolean(System::String ^ collectionPath, System::String ^ propertyName, bool defaultValue);
public:
 abstract bool GetBoolean(Platform::String ^ collectionPath, Platform::String ^ propertyName, bool defaultValue);
 abstract bool GetBoolean(std::wstring const & collectionPath, std::wstring const & propertyName, bool defaultValue);
public abstract bool GetBoolean (string collectionPath, string propertyName, bool defaultValue);
abstract member GetBoolean : string * string * bool -> bool
Public MustOverride Function GetBoolean (collectionPath As String, propertyName As String, defaultValue As Boolean) As Boolean
Parameters
collectionPath
String String String String String String

Path of the collection of the property.

propertyName
String String String String String String

Name of the property.

defaultValue
Boolean Boolean Boolean Boolean Boolean Boolean

Value to be returned if the property does not exist.

Returns

If the property does not exist, it returns the defaultValue passed in otherwise it returns true if the underling integer value is non-zero and false if it is zero.

Exceptions

Applies to