IDataErrorInfo.Item[String] 屬性

定義

使用指定的名稱取得屬性的錯誤訊息。Gets the error message for the property with the given name.

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

要取得其錯誤訊息的屬性名稱。The name of the property whose error message to get.

屬性值

屬性的錯誤訊息。The error message for the property. 預設為空字串 ("")。The default is an empty string ("").

適用於