ValueProviderCollection.GetValue Method (String)

.NET Framework (current version)
 
System_CAPS_noteNote

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

Returns a value object using the specified key.

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

public virtual ValueProviderResult GetValue(
	string key
)

Parameters

key
Type: System.String

The key of the value object to retrieve.

Return Value

Type: System.Web.ModelBinding.ValueProviderResult

The value object.

This method calls GetValue(String, Boolean), passing false for the skipValidation parameter.

.NET Framework
Available since 4.5
Return to top
Show: