共用方式為


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

屬性值

適用於