IDataErrorInfo.Item[String] 屬性

定義

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

public:
 property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ columnName); };
public string this[string columnName] { get; }
member this.Item(string) : string
Default Public ReadOnly Property Item(columnName As String) As String

參數

columnName
String

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

屬性值

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

適用於