ValueProviderCollection.GetValue Method (String, Boolean)

.NET Framework (current version)
 

Returns a value object using the specified key and optionally specifies whether validation should be skipped.

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

Public Overridable Function GetValue (
	key As String,
	skipValidation As Boolean
) As ValueProviderResult

Parameters

key
Type: System.String

The key of the value object to retrieve.

skipValidation
Type: System.Boolean

true to skip validation; otherwise, false.

Return Value

Type: System.Web.ModelBinding.ValueProviderResult

The value object.

.NET Framework
Available since 4.5
Return to top
Show: