CookieValueProvider.GetValue Method (String, Boolean)

.NET Framework (current version)
 

Retrieves a value object using the specified key and a parameter that specifies whether validation should be skipped.

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

abstract GetValue : 
        key:string *
        skipValidation:bool -> ValueProviderResult
override GetValue : 
        key:string *
        skipValidation:bool -> ValueProviderResult

Parameters

key
Type: System.String

The key.

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: