Condividi tramite


MutableObjectModelBinder.GetMetadataForProperties Metodo

Definizione

Restituisce i metadati per le proprietà del modello.

protected:
 virtual System::Collections::Generic::IEnumerable<System::Web::ModelBinding::ModelMetadata ^> ^ GetMetadataForProperties(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext, System::Web::ModelBinding::ModelBindingContext ^ bindingContext);
protected virtual System.Collections.Generic.IEnumerable<System.Web.ModelBinding.ModelMetadata> GetMetadataForProperties (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, System.Web.ModelBinding.ModelBindingContext bindingContext);
abstract member GetMetadataForProperties : System.Web.ModelBinding.ModelBindingExecutionContext * System.Web.ModelBinding.ModelBindingContext -> seq<System.Web.ModelBinding.ModelMetadata>
override this.GetMetadataForProperties : System.Web.ModelBinding.ModelBindingExecutionContext * System.Web.ModelBinding.ModelBindingContext -> seq<System.Web.ModelBinding.ModelMetadata>
Protected Overridable Function GetMetadataForProperties (modelBindingExecutionContext As ModelBindingExecutionContext, bindingContext As ModelBindingContext) As IEnumerable(Of ModelMetadata)

Parametri

modelBindingExecutionContext
ModelBindingExecutionContext

Contesto di esecuzione.

bindingContext
ModelBindingContext

Il contesto di associazione.

Restituisce

Metadati delle proprietà del modello.

Si applica a