Partager via


HttpParameterBinding.GetValue Method

Gets the parameter value from argument dictionary of the action context.

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

Syntax

'Declaration
Protected Function GetValue ( _
    actionContext As HttpActionContext _
) As Object
'Usage
Dim actionContext As HttpActionContext 
Dim returnValue As Object 

returnValue = Me.GetValue(actionContext)
protected Object GetValue(
    HttpActionContext actionContext
)
protected:
Object^ GetValue(
    HttpActionContext^ actionContext
)
member GetValue : 
        actionContext:HttpActionContext -> Object
protected function GetValue(
    actionContext : HttpActionContext
) : Object

Parameters

Return Value

Type: System.Object
The value for this parameter in the given action context, or null if the parameter has not yet been set.

See Also

Reference

HttpParameterBinding Class

System.Web.Http.Controllers Namespace