FormCollection.GetValue Method

Gets the specified value provider.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public function GetValue(
	name : String
) : ValueProviderResult

Parameters

name
Type: System.String

The name of the value provider to get.

Return Value

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

ExceptionCondition
ArgumentException

The name parameter is a null reference (Nothing in Visual Basic) or empty.

Show: