DialogStateManager.GetIntValue(String, Int32) Method

Definition

Get a int value from memory using a path expression.

public int GetIntValue (string pathExpression, int defaultValue = 0);
member this.GetIntValue : string * int -> int
Public Function GetIntValue (pathExpression As String, Optional defaultValue As Integer = 0) As Integer

Parameters

pathExpression
String

Path expression.

defaultValue
Int32

Default value if the value doesn't exist.

Returns

Value or null if path is not valid.

Applies to