ValidationStateEntry.Strategy 属性

定义

获取或设置用于 IValidationStrategy 枚举关联模型对象的子条目的 。

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IValidationStrategy ^ Strategy { Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IValidationStrategy ^ get(); void set(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IValidationStrategy ^ value); };
public Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy Strategy { get; set; }
member this.Strategy : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IValidationStrategy with get, set
Public Property Strategy As IValidationStrategy

属性值

适用于