ComplexModel.Results 属性

定义

获取一个集合,该集合包含与尝试绑定的每个属性对应的条目。

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)

属性值

尝试对其绑定进行模型绑定的模型属性的元数据。

注解

如果属性的绑定失败,则条目的值将为 null。 如果未尝试对属性进行绑定,字典将不包含该属性的条目。

适用于