SimpleValueProvider.GetValue Method (String)

.NET Framework (current version)
 

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

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

public virtual ValueProviderResult GetValue(
	string key
)

Parameters

key
Type: System.String

The key of the value to retrieve.

Return Value

Type: System.Web.ModelBinding.ValueProviderResult

The value.

Exception Condition
ArgumentNullException

The key parameter is null.

.NET Framework
Available since 4.5
Return to top
Show: