IDataErrorInfo.Item Property
Collapse the table of content
Expand the table of content

DataRowView.IDataErrorInfo.Item Property (String)


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

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

string IDataErrorInfo.this[
	string colName
] { get; }


Type: System.String

The name of the property whose error message to get.

Property Value

Type: System.String

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

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

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft