IDataErrorInfo.Item[String] 属性
定义
获取具有给定名称的属性的错误信息。Gets the error message for the property with the given name.
public:
property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ columnName); };
public string this[string columnName] { get; }
member this.Item(string) : string
Default Public ReadOnly Property Item(columnName As String) As String
参数
- columnName
- String
要获取其错误信息的属性的名称。The name of the property whose error message to get.
属性值
该属性的错误信息。The error message for the property. 默认值为空字符串("")。The default is an empty string ("").