DataRowView.IDataErrorInfo.Item[String] Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient le message d’erreur de 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é dont le message d’erreur doit être obtenu.
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 explicite de membre d’interface. Elle ne peut être utilisée que lorsque l’instance DataRowView est convertie en IDataErrorInfo interface.