ValueProviderCollection.GetValue Method
Returns a value object using the specified key.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | GetValue(String) | Returns a value object using the specified key. |
![]() | GetValue(String, Boolean) | Returns a value object using the specified key and skip-validation parameter. |
ValueProviderCollection.GetValue Method (String)
Returns a value object using the specified key.
abstract GetValue : key:string -> ValueProviderResult override GetValue : key:string -> ValueProviderResult
Parameters
- key
-
Type:
System.String
The key of the value object to retrieve.
Implements
IValueProvider.GetValue(String)ValueProviderCollection.GetValue Method (String, Boolean)
Returns a value object using the specified key and skip-validation parameter.
abstract GetValue : key:string * skipValidation:bool -> ValueProviderResult override GetValue : key:string * skipValidation:bool -> ValueProviderResult
Parameters
- key
-
Type:
System.String
The key of the value object to retrieve.
- skipValidation
-
Type:
System.Boolean
true to specify that validation should be skipped; otherwise, false.
Show:
