Partager via


CompositeValueProvider.GetValue Method

Retrieves a value object using the specified key.

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

Syntax

'Declaration
Public Overridable Function GetValue ( _
    key As String _
) As ValueProviderResult
'Usage
Dim instance As CompositeValueProvider
Dim key As String
Dim returnValue As ValueProviderResult

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

Implements

IValueProvider.GetValue(String)

See Also

Reference

CompositeValueProvider Class

System.Web.Http.ValueProviders.Providers Namespace