Sdílet prostřednictvím


DialogStateManager.GetIntValue(String, Int32) Metoda

Definice

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

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

Parametry

pathExpression
String

Výraz cesty.

defaultValue
Int32

Výchozí hodnota, pokud hodnota neexistuje.

Návraty

Hodnota nebo null, pokud cesta není platná.

Platí pro