Share via


ValidationMetadata.ValidateChildren 属性

定义

获取或设置一个值,该值指示是否应验证模型的子级。 如果 null 为 ,ValidateChildren则 为 trueIsEnumerableTypetrueIsComplexType ;false否则为 。

public:
 property Nullable<bool> ValidateChildren { Nullable<bool> get(); void set(Nullable<bool> value); };
public bool? ValidateChildren { get; set; }
member this.ValidateChildren : Nullable<bool> with get, set
Public Property ValidateChildren As Nullable(Of Boolean)

属性值

适用于