共用方式為


ApiController.ObjectValidator 屬性

定義

取得或設定 IObjectModelValidator

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

屬性值

適用於