Share via


ValidatingViewModelBase.IDataErrorInfo.Item Property

Gets the error message for the property that has the given name.

Namespace:  Microsoft.TeamFoundation.MVVM
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

Syntax

'Declaration
Private ReadOnly Property Item ( _
    propertyName As String _
) As String Implements IDataErrorInfo.Item
string IDataErrorInfo.this[
    string propertyName
] { get; }
private:
virtual property String^ Item[String^ propertyName] {
    String^ get (String^ propertyName) sealed = IDataErrorInfo::Item::get;
}
private abstract Item : 
        propertyName:string -> string with get 
private override Item : 
        propertyName:string -> string with get
JScript does not support explicit interface implementations.

Parameters

  • propertyName
    Type: System.String

    he name of the property whose error message to obtain.

Property Value

Type: System.String
The error message for the property. The default is an empty string ("").

Implements

IDataErrorInfo.Item

.NET Framework Security

See Also

Reference

ValidatingViewModelBase Class

Microsoft.TeamFoundation.MVVM Namespace