Partager via


ValidationResult.PropertyName Property

Gets the property name of the failed validation. If the validation is not related to a specific property this may return Empty()

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property PropertyName As String
public virtual string PropertyName { get; }
public:
virtual property String^ PropertyName {
    String^ get ();
}
public function get PropertyName () : String

Field Value

The property name of the failed validation.

See Also

ValidationResult Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation Namespace