Redigera

Dela via


DataRowView.IDataErrorInfo.Item[String] Property

Definition

Gets the error message for the property with the given name.

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

Parameters

colName
String

The name of the property whose error message to get.

Property Value

The error message for the property. The default is an empty string ("").

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the DataRowView instance is cast to an IDataErrorInfo interface.

Applies to