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)

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

returnValue = instance.GetValue(key, skipValidation)

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: