FormCollection.IValueProvider.GetValue Method

Gets a value from a value provider using the specified key.

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

'Declaration
Private Function GetValue ( _
	key As String _
) As ValueProviderResult Implements IValueProvider.GetValue
'Usage
Dim instance As FormCollection 
Dim key As String 
Dim returnValue As ValueProviderResult 

returnValue = CType(instance, IValueProvider).GetValue(key)

Parameters

key
Type: System.String

The key.

Return Value

Type: System.Web.Mvc.ValueProviderResult
A value from a value provider.

Implements

IValueProvider.GetValue(String)

This member is an explicit interface member implementation. It can be used only when the FormCollection instance is cast to an IValueProvider interface.

Show: