NameValueCollectionValueProvider.GetValue Method (String, Boolean)

Returns a value object using the specified key and validation directive.

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

abstract GetValue : 
        key:string * 
        skipValidation:bool -> ValueProviderResult  
override GetValue : 
        key:string * 
        skipValidation:bool -> ValueProviderResult

Parameters

key
Type: System.String

The key.

skipValidation
Type: System.Boolean

true if validation should be skipped; otherwise, false.

Return Value

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

Implements

IUnvalidatedValueProvider.GetValue(String, Boolean)
Show: