.NET Framework Class Library
FormCollection.GetValue Method
Gets the specified value provider.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
Visual Basic
Public Function GetValue ( _ name As String _ ) As ValueProviderResult
C#
public ValueProviderResult GetValue( string name )
Visual C++
public:
ValueProviderResult^ GetValue(
String^ name
)
Parameters
- name
- Type: System.String
The name of the value provider to get.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException |
The name parameter is null or empty. |
See Also