DefaultModelBindingMessageProvider.SetMissingKeyOrValueAccessor Method

Definition

Sets the MissingKeyOrValueAccessor property.

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

Parameters

missingKeyOrValueAccessor
Func<String>

The value to set.

Applies to