NameValueCollectionValueProvider::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 validation directive. |
NameValueCollectionValueProvider::GetValue Method (String^)
Returns a value object using the specified 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 null. |
NameValueCollectionValueProvider::GetValue Method (String^, Boolean)
Returns a value object using the specified key and validation directive.
Parameters
- key
-
Type:
System::String^
The key.
- skipValidation
-
Type:
System::Boolean
true if validation should be skipped; otherwise, false.
Show:
