Sdílet prostřednictvím


DialogStateManager.GetBoolValue(String, Boolean) Metoda

Definice

Získejte logickou hodnotu z paměti pomocí výrazu path.

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

Parametry

pathExpression
String

Výraz path.

defaultValue
Boolean

Výchozí hodnota, pokud hodnota neexistuje.

Návraty

Bool nebo null, pokud cesta není platná.

Platí pro