Share via


MutableObjectModelBinder.SetProperty Method (ControllerContext, ExtensibleModelBindingContext, ModelMetadata, ComplexModelDtoResult)

 

Sets the value of a specified property.

Namespace:   Microsoft.Web.Mvc.ModelBinding
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

protected virtual void SetProperty(
    ControllerContext controllerContext,
    ExtensibleModelBindingContext bindingContext,
    ModelMetadata propertyMetadata,
    ComplexModelDtoResult dtoResult
)
protected:
virtual void SetProperty(
    ControllerContext^ controllerContext,
    ExtensibleModelBindingContext^ bindingContext,
    ModelMetadata^ propertyMetadata,
    ComplexModelDtoResult^ dtoResult
)
abstract SetProperty : 
        controllerContext:ControllerContext *
        bindingContext:ExtensibleModelBindingContext *
        propertyMetadata:ModelMetadata *
        dtoResult:ComplexModelDtoResult -> unit
override SetProperty : 
        controllerContext:ControllerContext *
        bindingContext:ExtensibleModelBindingContext *
        propertyMetadata:ModelMetadata *
        dtoResult:ComplexModelDtoResult -> unit
Protected Overridable Sub SetProperty (
    controllerContext As ControllerContext,
    bindingContext As ExtensibleModelBindingContext,
    propertyMetadata As ModelMetadata,
    dtoResult As ComplexModelDtoResult
)

Parameters

See Also

MutableObjectModelBinder Class
Microsoft.Web.Mvc.ModelBinding Namespace

Return to top