FormValueMappingContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A context that tracks information about mapping a single value from form data.
public sealed class FormValueMappingContext
type FormValueMappingContext = class
Public NotInheritable Class FormValueMappingContext
- Inheritance
-
FormValueMappingContext
Properties
AcceptFormName |
If set, indicates that the mapping should only receive values if the incoming form matches this name. If null, the mapping should receive data from any form in the mapping scope. |
AcceptMappingScopeName |
Gets the name of FormMappingScope that is allowed to supply data in this context. |
MapErrorToContainer |
Maps a set of errors to a concrete containing instance. |
OnError |
Gets the callback to invoke when an error occurs. |
ParameterName |
Gets the name of the parameter to map data to. |
Result |
Gets the result of the mapping operation. |
ValueType |
Gets the Type of the value to map. |
Methods
SetResult(Object) |
Sets the result of the mapping operation. |