NameValueCollectionValueProvider.GetValue Method (String)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the value for the specified key.

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

public virtual ValueProviderResult GetValue(
	string key


Type: System.String

The key.

Return Value

Type: System.Web.ModelBinding.ValueProviderResult

The value for the specified key.

Calling this method is equivalent to calling the GetValue method overload and passing false for the skipValidation parameter.

.NET Framework
Available since 4.5
Return to top