次の方法で共有


DialogStateManager.GetBoolValue(String, Boolean) メソッド

定義

パス式を使用して、メモリからブール値を取得します。

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

パラメーター

pathExpression
String

パス式。

defaultValue
Boolean

値が存在しない場合の既定値。

戻り値

パスが無効な場合はブール値または null。

適用対象