DataRowView.IDataErrorInfo.Item[String] 屬性

定義

使用指定的名稱取得屬性的錯誤訊息。

property System::String ^ System::ComponentModel::IDataErrorInfo::Item[System::String ^] { System::String ^ get(System::String ^ colName); };
string System.ComponentModel.IDataErrorInfo.Item[string colName] { get; }
member this.System.ComponentModel.IDataErrorInfo.Item(string) : string
 ReadOnly Property Item(colName As String) As String Implements IDataErrorInfo.Item

參數

colName
String

要取得其錯誤訊息的屬性名稱。

屬性值

屬性的錯誤訊息。 預設為空字串 ("")。

實作

備註

這個成員是明確介面成員實作, 只有在 DataRowView 執行個體轉換成 IDataErrorInfo 介面時,才能使用這個成員。

適用於