Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

private:
property String^ default[
	String^ colName
] {
	virtual String^ get(String^ colName) sealed = IDataErrorInfo::default::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 ("").

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
Show:
© 2017 Microsoft