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
controllerContext
Type: System.Web.Mvc.ControllerContextThe controller context.
bindingContext
Type: Microsoft.Web.Mvc.ModelBinding.ExtensibleModelBindingContextThe binding context.
propertyMetadata
Type: System.Web.Mvc.ModelMetadataMetadata for the property to set.
dtoResult
Type: Microsoft.Web.Mvc.ModelBinding.ComplexModelDtoResultThe data transfer object result.
See Also
MutableObjectModelBinder Class
Microsoft.Web.Mvc.ModelBinding Namespace
Return to top