CreateNew Method of IndexingFields Object (COM-based API)

This method creates a new IndexingField object and returns a reference to it.

Visual Basic Syntax

Method CreateNew(
   Type As AttributeTypeEnum,
   IsRequired As Boolean,
   name As String
) As IndexingField

C++ Syntax

HRESULT CreateNew(
    AttributeTypeEnum Type,
    VARIANT_BOOL IsRequired,
    BSTR Name,
    IIndexingField** item
);

Parameters

Type

[in] This parameter specifies the type of indexing field. See the AttributeTypeEnum description for the supported fields.

IsRequired

[in] This parameter specifies if indexing field is required.

Name

[in] This parameter contains the name of new indexing field.

item

[out] A pointer to the IndexingField object.

Return Values

This method has no specific return values. It returns standard return values of ABBYY FineReader Server COM-based API functions.

See also

Working with Collections.

3/26/2024 1:49:49 PM

Please leave your feedback about this article

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.