DictionaryValueProvider(Of 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)
'Declaration Public Overridable Function GetValue ( _ key As String _ ) As ValueProviderResult 'Usage Dim instance As DictionaryValueProvider Dim key As String Dim returnValue As ValueProviderResult returnValue = instance.GetValue(key)
Parameters
- key
- Type: System.String
The key of the value object to retrieve.
Implements
IValueProvider.GetValue(String)| Exception | Condition |
|---|---|
| ArgumentNullException | The key parameter is Nothing. |
Show: