DialogStateManager.GetBoolValue(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.
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.