Freigeben über


DefaultModelBindingMessageProvider.SetValueMustNotBeNullAccessor Methode

Definition

Legt die ValueMustNotBeNullAccessor-Eigenschaft fest.

public:
 void SetValueMustNotBeNullAccessor(Func<System::String ^, System::String ^> ^ valueMustNotBeNullAccessor);
public void SetValueMustNotBeNullAccessor (Func<string,string> valueMustNotBeNullAccessor);
member this.SetValueMustNotBeNullAccessor : Func<string, string> -> unit
Public Sub SetValueMustNotBeNullAccessor (valueMustNotBeNullAccessor As Func(Of String, String))

Parameter

valueMustNotBeNullAccessor
Func<String,String>

Der festzulegende Wert.

Gilt für: