DataRowView.IDataErrorInfo.Item Property

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; }

Parameters

colName
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 ("").

Implements

IDataErrorInfo.Item

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft