Share via


IValueProvider.GetValue Method (String)

 

Retrieves a value object using the specified key.

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

Syntax

ValueProviderResult GetValue(
    string key
)
ValueProviderResult^ GetValue(
    String^ key
)
abstract GetValue : 
        key:string -> ValueProviderResult
Function GetValue (
    key As String
) As ValueProviderResult

Parameters

  • key
    Type: System.String

    The key of the value object to retrieve.

Return Value

Type: System.Web.Mvc.ValueProviderResult

The value object for the specified key, or null if the key is not found.

See Also

IValueProvider Interface
System.Web.Mvc Namespace

Return to top