Freigeben über


DialogStateManager.GetBoolValue(String, Boolean) Methode

Definition

Abrufen eines Bool-Werts aus dem Arbeitsspeicher mithilfe eines Pfadausdrucks.

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

Parameter

pathExpression
String

Der Pfadausdruck.

defaultValue
Boolean

Standardwert, wenn der Wert nicht vorhanden ist.

Gibt zurück

Bool oder NULL, wenn der Pfad ungültig ist.

Gilt für: