共用方式為


ValidationVisitor.AllowShortCircuitingValidationWhenNoValidatorsArePresent 屬性

定義

警告

This property is deprecated and is no longer used by the runtime.

取得或設定值,這個值會判斷當模型沒有任何相關聯的驗證程式時,是否可以 ValidationVisitor 進行短線路驗證。

public:
 property bool AllowShortCircuitingValidationWhenNoValidatorsArePresent { bool get(); void set(bool value); };
public bool AllowShortCircuitingValidationWhenNoValidatorsArePresent { get; set; }
[System.Obsolete("This property is deprecated and is no longer used by the runtime.")]
public bool AllowShortCircuitingValidationWhenNoValidatorsArePresent { get; set; }
member this.AllowShortCircuitingValidationWhenNoValidatorsArePresent : bool with get, set
[<System.Obsolete("This property is deprecated and is no longer used by the runtime.")>]
member this.AllowShortCircuitingValidationWhenNoValidatorsArePresent : bool with get, set
Public Property AllowShortCircuitingValidationWhenNoValidatorsArePresent As Boolean

屬性值

預設值是 true

屬性

備註

此屬性目前會被忽略。

適用於