Skip to main content
A newer version of this page is available. .

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

Declaration

void GetError(
    ErrorInfo info
)

Parameters

Name Type Description
info ErrorInfo

An ErrorInfo object that contains information on an error.

Remarks

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