ComplexModel.Results 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个集合,该集合包含与尝试绑定的每个属性对应的条目。
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。 如果未尝试对属性进行绑定,字典将不包含该属性的条目。