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。 若未嘗試對某屬性進行綁定,字典中將不包含該屬性的條目。