IValueProvider.GetValue Method (String)

 

Retrieves a value object using the specified key.

Namespace:   System.Web.Http.ValueProviders
Assembly:  System.Web.Http (in System.Web.Http.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.Http.ValueProviders.ValueProviderResult

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

See Also

IValueProvider Interface
System.Web.Http.ValueProviders Namespace

Return to top