DataRowView.IDataErrorInfo.Item[String] Propriété

Définition

Obtient le message d'erreur pour la propriété portant le nom donné.

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

Paramètres

colName
String

Nom de la propriété pour laquelle obtenir le message d'erreur.

Valeur de propriété

Message d'erreur pour la propriété. La valeur par défaut est une chaîne vide ("").

Implémente

Remarques

Ce membre est une implémentation d'un membre d'interface explicite. Il peut uniquement être utilisé lorsque l'instance de DataRowView est castée en interface IDataErrorInfo.

S’applique à