PromptValidatorContext<T>.AttemptCount 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得執行這個提示實例的次數。
public int AttemptCount { get; }
member this.AttemptCount : int
Public ReadOnly Property AttemptCount As Integer
屬性值
一個數字表示提示被呼叫的次數(第一次被叫用時從 1 開始)。
備註
當提示新增至對話框堆疊時,就會設定此計數。