Share via


IValueProvider.GetValue Method

Retrieves a value object using the specified key.

Namespace:  System.Web.Http.ValueProviders
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

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

returnValue = instance.GetValue(key)
ValueProviderResult GetValue(
    string key
)
ValueProviderResult^ GetValue(
    String^ key
)
abstract GetValue : 
        key:string -> ValueProviderResult 
function GetValue(
    key : String
) : 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.

See Also

Reference

IValueProvider Interface

System.Web.Http.ValueProviders Namespace