FormCollection.GetValue Method (System.Web.Mvc)

Switch View :
ScriptFree
.NET Framework Class Library
FormCollection.GetValue Method

Gets the specified value provider.

Namespace:  System.Web.Mvc
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.

Return Value

Type: System.Web.Mvc.ValueProviderResult
The value provider.
Exceptions

Exception Condition
ArgumentException

The name parameter is null or empty.

See Also

Reference