DialogStateManager.GetBoolValue(String, Boolean) Method

Definition

Get a bool value from memory using a path expression.

public bool GetBoolValue (string pathExpression, bool defaultValue = false);
member this.GetBoolValue : string * bool -> bool
Public Function GetBoolValue (pathExpression As String, Optional defaultValue As Boolean = false) As Boolean

Parameters

pathExpression
String

The path expression.

defaultValue
Boolean

Default value if the value doesn't exist.

Returns

Bool or null if path is not valid.

Applies to