Export (0) Print
Expand All

ModelStateDictionary.SetModelValue Method

Sets the value for the specified key by using the specified value provider dictionary.

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

public void SetModelValue(
	string key,
	ValueProviderResult value
)

Parameters

key
Type: System.String
The key.
value
Type: System.Web.Http.ValueProviders.ValueProviderResult
The value.
Show:
© 2014 Microsoft