Export (0) Print
Expand All

DictionaryValueProvider(TValue).GetValue Method

Returns a value object using the specified key and controller context.

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

public function GetValue(
	key : String
) : ValueProviderResult

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 a null reference (Nothing in Visual Basic).

Show:
© 2014 Microsoft