共用方式為


ModelValidatorProviderContext.Results 屬性

定義

取得實例清單 ValidatorItemIModelValidatorProvider呼叫 時 CreateValidators(ModelValidatorProviderContext) ,實例應該加入適當的 Validator 屬性。

public:
 property System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidatorItem ^> ^ Results { System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidatorItem ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorItem> Results { get; }
member this.Results : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorItem>
Public ReadOnly Property Results As IList(Of ValidatorItem)

屬性值

適用於