ValueProviderCollection.GetValue Method

 

Returns a value object using the specified key.

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

NameDescription
System_CAPS_pubmethodGetValue(String)

Returns a value object using the specified key.

System_CAPS_pubmethodGetValue(String, Boolean)

Returns a value object using the specified key and skip-validation parameter.

Return to top

ValueProviderCollection.GetValue Method (String)

Returns a value object using the specified key.

abstract GetValue : 
        key:string -> ValueProviderResult
override GetValue : 
        key:string -> ValueProviderResult

Parameters

key
Type: System.String

The key of the value object to retrieve.

Return Value

Type: System.Web.Mvc.ValueProviderResult

The value object for the specified key.

Return to top

ValueProviderCollection.GetValue Method (String, Boolean)

Returns a value object using the specified key and skip-validation parameter.

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

Parameters

key
Type: System.String

The key of the value object to retrieve.

skipValidation
Type: System.Boolean

true to specify that validation should be skipped; otherwise, false.

Return Value

Type: System.Web.Mvc.ValueProviderResult

The value object for the specified key.

Return to top
Show: