Sprache

DialogStateManager.GetIntValue(String, Int32) Methode

Definition

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

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

Parameter

pathExpression
String

Pfadausdruck.

defaultValue
Int32

Standardwert, wenn der Wert nicht vorhanden ist.

Gibt zurück

Wert oder null, wenn der Pfad nicht gültig ist.

Gilt für: