Share via


IUnvalidatedValueProvider.GetValue Method (String, Boolean)

Retrieves the value of the object that is associated with the specified key.

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

Syntax

'Declaration
Function GetValue ( _
    key As String, _
    skipValidation As Boolean _
) As ValueProviderResult
'Usage
Dim instance As IUnvalidatedValueProvider
Dim key As String
Dim skipValidation As Boolean
Dim returnValue As ValueProviderResult

returnValue = instance.GetValue(key, skipValidation)
ValueProviderResult GetValue(
    string key,
    bool skipValidation
)
ValueProviderResult^ GetValue(
    String^ key, 
    bool skipValidation
)
function GetValue(
    key : String, 
    skipValidation : boolean
) : ValueProviderResult

Parameters

  • skipValidation
    Type: System.Boolean
    true if validation should be skipped; otherwise, false.

Return Value

Type: System.Web.Mvc.ValueProviderResult
The value of the object for the specified key.

See Also

Reference

IUnvalidatedValueProvider Interface

GetValue Overload

System.Web.Mvc Namespace