DeleteById Method
This method is specific to collection objects. It removes an element with the specified identifier from the collection. An open batch cannot be deleted.
Syntax
Visual Basic .NET
Sub DeleteById(Id As Integer)
C++
HRESULT DeleteById(
int Id
);
Parameters
- Id
- [in] This variable contains the identifier of the collection element. It should be received as the value of the Id property of the corresponding collection element.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions
Remarks
The following collection objects provide this method:
- Batches – you cannot delete the batch, if it is open (the IBatch::IsOpen property is TRUE)
- BlockDefinitions
- Documents
- PageDefinitions
- Pages
See also
Working with collections
15.08.2023 13:19:30