SimpleValueProvider.GetValue(String) Method

Definition

Calls the FetchValue(String) method and then uses the returned value to instantiate a new instance of the ValueProviderResult class.

C#
public virtual System.Web.ModelBinding.ValueProviderResult GetValue(string key);

Parameters

key
String

The key of the value to retrieve.

Returns

The value.

Implements

Exceptions

The key parameter is null.

Applies to

Produkt Verze
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1