MutableObjectModelBinder.SetProperty Method (ModelBindingExecutionContext, ModelBindingContext, ModelMetadata, ComplexModelResult)
.NET Framework (current version)
Sets the value of a specified property.
Assembly: System.Web (in System.Web.dll)
abstract SetProperty : modelBindingExecutionContext:ModelBindingExecutionContext * bindingContext:ModelBindingContext * propertyMetadata:ModelMetadata * complexModelResult:ComplexModelResult -> unit override SetProperty : modelBindingExecutionContext:ModelBindingExecutionContext * bindingContext:ModelBindingContext * propertyMetadata:ModelMetadata * complexModelResult:ComplexModelResult -> unit
Parameters
- modelBindingExecutionContext
-
Type:
System.Web.ModelBinding.ModelBindingExecutionContext
The execution context.
- bindingContext
-
Type:
System.Web.ModelBinding.ModelBindingContext
The binding context.
- propertyMetadata
-
Type:
System.Web.ModelBinding.ModelMetadata
Metadata for the property to set.
- complexModelResult
-
Type:
System.Web.ModelBinding.ComplexModelResult
Validation information about the property.
.NET Framework
Available since 4.5
Available since 4.5
Show: