Bagikan melalui


ModelBindingMessageProvider.ValueMustNotBeNullAccessor Properti

Definisi

Pesan kesalahan yang ditambahkan sistem pengikatan model saat null nilai terikat ke properti nonNullable - .

public:
 property Func<System::String ^, System::String ^> ^ ValueMustNotBeNullAccessor { Func<System::String ^, System::String ^> ^ get(); void set(Func<System::String ^, System::String ^> ^ value); };
public:
 virtual property Func<System::String ^, System::String ^> ^ ValueMustNotBeNullAccessor { Func<System::String ^, System::String ^> ^ get(); };
public Func<string,string> ValueMustNotBeNullAccessor { get; set; }
public virtual Func<string,string> ValueMustNotBeNullAccessor { get; }
member this.ValueMustNotBeNullAccessor : Func<string, string> with get, set
member this.ValueMustNotBeNullAccessor : Func<string, string>
Public Property ValueMustNotBeNullAccessor As Func(Of String, String)
Public Overridable ReadOnly Property ValueMustNotBeNullAccessor As Func(Of String, String)

Nilai Properti

Defaultnya String adalah "Nilai '{0}' tidak valid.".

Berlaku untuk