Click or drag to resize

CTInterfaceAddErrorToExportList Method

Call this while Export command is active to add error to specific listview row. After adding all possible errors, call VerifyExportListContent.

Namespace:  ATR.CT.CTInterface
Assembly:  CTInterface (in CTInterface.dll)
Syntax
public int AddErrorToExportList(
	IListViewEx poListView,
	int rowIndex,
	string errorStr
)

Parameters

poListView
Type: IListViewEx
Listview to which to add error.
rowIndex
Type: SystemInt32
Index of the listview row which to add the error.
errorStr
Type: SystemString
Descriptive error message to add.

Return Value

Type: Int32
ID of the error that was added when successful; otherwise -1
Availability

CUSTOMTOOLS 2021 SP3


See Also