Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

NameValueCollectionValueProvider.GetValue Method (String)

Returns a value object using the specified key.

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

public virtual ValueProviderResult GetValue(
	string key
)

Parameters

key
Type: System.String
The key of the value object to retrieve.

Return Value

Type: System.Web.Mvc.ValueProviderResult
The value object for the specified key.

Implements

IValueProvider.GetValue(String)

ExceptionCondition
ArgumentNullException

The key parameter is null.

Show:
© 2015 Microsoft