A newer version of this page is available. Switch to the current version.

IDXDataErrorInfo.GetError(ErrorInfo) Method

When implemented by a class, this method returns information on an error associated with a business object.

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.Data.v18.2.dll


void GetError(
    ErrorInfo info
Sub GetError(
    info As ErrorInfo


Name Type Description
info ErrorInfo

An ErrorInfo object that contains information on an error.


The GetError method must return information on an error associated with the current object.

To set the error text and the type of the error, assign the corresponding values to the ErrorInfo.ErrorText and ErrorInfo.ErrorType properties.

See Also