ModelValidationNode.ValidateAllProperties 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指示是否應驗證模型的所有屬性。
public:
property bool ValidateAllProperties { bool get(); void set(bool value); };
public bool ValidateAllProperties { get; set; }
member this.ValidateAllProperties : bool with get, set
Public Property ValidateAllProperties As Boolean
屬性值
true 是否應該驗證模型的所有屬性,還是 false 應該跳過驗證。