DialogStateManager.GetIntValue(String, Int32) 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 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.