Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ValueProviderCollection.GetValue Method (String, Boolean)

.NET Framework 4.6 and 4.5

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 virtual ValueProviderResult GetValue(
	string key,
	bool skipValidation
)

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.

Implements

IUnvalidatedValueProvider.GetValue(String, Boolean)

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft