Editar

Partilhar via


ComplexModel.Results Property

Definition

Gets a collection that contains entries that correspond to each property for which binding was attempted.

public:
 property System::Collections::Generic::IDictionary<System::Web::ModelBinding::ModelMetadata ^, System::Web::ModelBinding::ComplexModelResult ^> ^ Results { System::Collections::Generic::IDictionary<System::Web::ModelBinding::ModelMetadata ^, System::Web::ModelBinding::ComplexModelResult ^> ^ get(); };
public System.Collections.Generic.IDictionary<System.Web.ModelBinding.ModelMetadata,System.Web.ModelBinding.ComplexModelResult> Results { get; }
member this.Results : System.Collections.Generic.IDictionary<System.Web.ModelBinding.ModelMetadata, System.Web.ModelBinding.ComplexModelResult>
Public ReadOnly Property Results As IDictionary(Of ModelMetadata, ComplexModelResult)

Property Value

Metadata for model properties for which model binding was attempted.

Remarks

If binding fails for a property, the entry's value will be null. If binding is not attempted for a property, the dictionary will not contain an entry for that property.

Applies to