Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetValue Method (String, Boolean)
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft