Share via


SettingsStore.TryGetBoolean(String, String, Boolean) Method

Definition

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

public virtual bool TryGetBoolean (string collectionPath, string propertyName, out bool value);
abstract member TryGetBoolean : string * string * bool -> bool
override this.TryGetBoolean : string * string * bool -> bool
Public Overridable Function TryGetBoolean (collectionPath As String, propertyName As String, ByRef value As Boolean) As Boolean

Parameters

collectionPath
String

Path of the collection of the property.

propertyName
String

Name of the property.

value
Boolean

The retrieved value

Returns

True if successful

Remarks

This method is safe to access from any thread.

Applies to