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)

Syntax

'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)
ValueProviderResult IValueProvider.GetValue(
    string key
)
private:
virtual ValueProviderResult^ GetValue(
    String^ key
) sealed = IValueProvider::GetValue
private abstract GetValue : 
        key:string -> ValueProviderResult  
private override GetValue : 
        key:string -> ValueProviderResult
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

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

Implements

IValueProvider.GetValue(String)

Remarks

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

See Also

Reference

FormCollection Class

System.Web.Mvc Namespace