DictionaryValueProvider<TValue>.GetValue(String) Method

Definition

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

public virtual System.Web.Mvc.ValueProviderResult GetValue (string key);
abstract member GetValue : string -> System.Web.Mvc.ValueProviderResult
override this.GetValue : string -> System.Web.Mvc.ValueProviderResult
Public Overridable Function GetValue (key As String) As ValueProviderResult

Parameters

key
String

The key of the value object to retrieve.

Returns

The value object for the specified key.

Implements

Exceptions

The key parameter is null.

Applies to