共用方式為


ControllerBase.ObjectValidator 屬性

定義

取得或設定 IObjectModelValidator

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

屬性值

適用於