Delen via


ValidationResult Members

Include Protected Members
Include Inherited Members

The ValidationResult type exposes the following members.

Constructors

  Name Description
Ff667608.protmethod(en-us,PandP.50).gif ValidationResult Overloaded.

Methods

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

Properties

  Name Description
Ff667608.pubproperty(en-us,PandP.50).gif ElementId
The ElementViewModel reference of the containing element producing the valiation error.
Ff667608.pubproperty(en-us,PandP.50).gif ElementName
The name of the element. If the error is not element specific, this may return Empty()
Ff667608.pubproperty(en-us,PandP.50).gif IsError
Returns true if the element is an error.
Ff667608.pubproperty(en-us,PandP.50).gif IsWarning
Returns true if the validation error is a warning.
Ff667608.pubproperty(en-us,PandP.50).gif Message
Gets or sets the message for the error.
Ff667608.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()

Events

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

See Also

ValidationResult Class

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