Partager via


ElementValidationResult Members

Include Protected Members
Include Inherited Members

The ElementValidationResult type exposes the following members.

Constructors

  Name Description
Ff671307.pubmethod(en-us,PandP.50).gif ElementValidationResult Overloaded.

Methods

  Name Description
Ff671307.pubmethod(en-us,PandP.50).gif Dispose Overloaded.
Ff671307.pubmethod(en-us,PandP.50).gif Equals (Inherited from Object.)
Ff671307.protmethod(en-us,PandP.50).gif Finalize (Inherited from Object.)
Ff671307.pubmethod(en-us,PandP.50).gif GetHashCode (Inherited from Object.)
Ff671307.pubmethod(en-us,PandP.50).gif GetType (Inherited from Object.)
Ff671307.protmethod(en-us,PandP.50).gif MemberwiseClone (Inherited from Object.)
Ff671307.protmethod(en-us,PandP.50).gif OnPropertyChanged
Raises the PropertyChanged event.
(Inherited from ValidationResult.)
Ff671307.pubmethod(en-us,PandP.50).gif ToString
Returns the string representation of the validation result.
(Inherited from ValidationResult.)

Properties

  Name Description
Ff671307.pubproperty(en-us,PandP.50).gif ElementId
Gets the ElementId of the element associated with this ValidationResult.
(Overrides ValidationResult.ElementId.)
Ff671307.pubproperty(en-us,PandP.50).gif ElementName
Gets the name of the element associated with this ValidationResult.
(Overrides ValidationResult.ElementName.)
Ff671307.pubproperty(en-us,PandP.50).gif IsError
Returns true if the element is an error.
(Inherited from ValidationResult.)
Ff671307.pubproperty(en-us,PandP.50).gif IsWarning
Returns true if the validation error is a warning.
(Inherited from ValidationResult.)
Ff671307.pubproperty(en-us,PandP.50).gif Message
Gets or sets the message for the error.
(Inherited from ValidationResult.)
Ff671307.pubproperty(en-us,PandP.50).gif PropertyName
Gets the property name of the failed validation. If the validation is not related to a specific property this may return Empty()
(Inherited from ValidationResult.)

Events

  Name Description
Ff671307.pubevent(en-us,PandP.50).gif PropertyChanged
Occurs when a property value changes.
(Inherited from ValidationResult.)

See Also

ElementValidationResult Class

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