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



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


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


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


[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.

26.03.2024 13:49:49

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.