IDataErrorInfo 接口

定义

提供功能,该功能提供用户界面可以绑定的自定义错误信息。Provides the functionality to offer custom error information that a user interface can bind to.

public interface class IDataErrorInfo
public interface IDataErrorInfo
type IDataErrorInfo = interface
Public Interface IDataErrorInfo
派生

属性

Error

获取指示对象何处出错的错误信息。Gets an error message indicating what is wrong with this object.

Item[String]

获取具有给定名称的属性的错误信息。Gets the error message for the property with the given name.

适用于