MvcOptions.ModelBindingMessageProvider 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得預設 ModelBindingMessageProvider。 除非在自訂 IBindingMetadataProvider 中覆寫,否則此處的變更會 ModelBindingMessageProvider 複製到所有 ModelMetadata 實例的 屬性。
public:
property Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelBindingMessageProvider ^ ModelBindingMessageProvider { Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelBindingMessageProvider ^ get(); };
public:
property Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::DefaultModelBindingMessageProvider ^ ModelBindingMessageProvider { Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::DefaultModelBindingMessageProvider ^ get(); };
public Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider ModelBindingMessageProvider { get; }
public Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider ModelBindingMessageProvider { get; }
member this.ModelBindingMessageProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelBindingMessageProvider
member this.ModelBindingMessageProvider : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultModelBindingMessageProvider
Public ReadOnly Property ModelBindingMessageProvider As ModelBindingMessageProvider
Public ReadOnly Property ModelBindingMessageProvider As DefaultModelBindingMessageProvider