MutableObjectModelBinder.SetProperty Method (ModelBindingExecutionContext, ModelBindingContext, ModelMetadata, ComplexModelResult)

.NET Framework (current version)
 

Sets the value of a specified property.

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

Protected Overridable Sub SetProperty (
	modelBindingExecutionContext As ModelBindingExecutionContext,
	bindingContext As ModelBindingContext,
	propertyMetadata As ModelMetadata,
	complexModelResult As ComplexModelResult
)

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
Return to top
Show: