DefaultModelBindingMessageProvider.SetValueMustNotBeNullAccessor Method

Definition

Sets the ValueMustNotBeNullAccessor property.

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))

Parameters

valueMustNotBeNullAccessor
Func<String,String>

The value to set.

Applies to