Partager via


ElementValidationResult.ElementName Property

Gets the name of the element associated with this ValidationResult.

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

Syntax

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

Field Value

The name of the element associated with this ValidationResult.

Remarks

If the result is not element specific, this may return Empty().

See Also

ElementValidationResult Class

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