ValueProviderCollection.GetValue Method

Definition

Overloads

GetValue(String)

Returns a value object using the specified key.

GetValue(String, Boolean)

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

GetValue(String)

Returns a value object using the specified key.

public virtual System.Web.Mvc.ValueProviderResult GetValue (string key);
abstract member GetValue : string -> System.Web.Mvc.ValueProviderResult
override this.GetValue : string -> System.Web.Mvc.ValueProviderResult
Public Overridable Function GetValue (key As String) As ValueProviderResult

Parameters

key
String

The key of the value object to retrieve.

Returns

The value object for the specified key.

Implements

Applies to

GetValue(String, Boolean)

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

public virtual System.Web.Mvc.ValueProviderResult GetValue (string key, bool skipValidation);
abstract member GetValue : string * bool -> System.Web.Mvc.ValueProviderResult
override this.GetValue : string * bool -> System.Web.Mvc.ValueProviderResult
Public Overridable Function GetValue (key As String, skipValidation As Boolean) As ValueProviderResult

Parameters

key
String

The key of the value object to retrieve.

skipValidation
Boolean

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

Returns

The value object for the specified key.

Implements

Applies to