Find Method of the DataSets Object

This method allows you to find a data set in the collection by its name and the name of the section to which it belongs.

A data set may belong either to the Document Definition as a whole or to a specific section of the Document Definition. To find a data set that belongs to a section, specify the name of the section. To find a data set that does not belong to a particular section, pass NULL or an empty string as the SectionName parameter.

Visual Basic .NET

Function Find( _
    SectionName As String, _
    DataSetName As String _
) As DataSet
    

C++

HRESULT Find(
    BSTR       SectionName,
    BSTR       DataSetName,
    IDataSet** Result
);
    

Parameters

SectionName
[in] This variable contains the name of the section to which the data set belongs. To find a data set that does not belong to a particular section, pass NULL or an empty string.
DataSetName
[in] This variable contains the name of the data set to be found.
Result
[out, retval] A pointer to the IDataSet* object that receives the interface pointer for the found data set. Returns NULL if the data set with the specified name in the specified section is not found.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

Samples

This method is used in the following code samples: Invoices Processing and Training.

See also

DataSets

DataSet

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.