SettingsStore.TryGetBoolean(String, 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.
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.