MutableObjectModelBinder.GetMetadataForProperties Method (ModelBindingExecutionContext, ModelBindingContext)
.NET Framework (current version)
Returns metadata for properties of the model.
Assembly: System.Web (in System.Web.dll)
Protected Overridable Function GetMetadataForProperties ( modelBindingExecutionContext As ModelBindingExecutionContext, bindingContext As ModelBindingContext ) As IEnumerable(Of ModelMetadata)
Parameters
- modelBindingExecutionContext
-
Type:
System.Web.ModelBinding.ModelBindingExecutionContext
The execution context.
- bindingContext
-
Type:
System.Web.ModelBinding.ModelBindingContext
The binding context.
Return Value
Type: System.Collections.Generic.IEnumerable(Of ModelMetadata)Metadata for properties of the model.
.NET Framework
Available since 4.5
Available since 4.5
Show: