> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NamedValueArray

> Array of NamedValue elements in the FlexiLayout language, with FindByName, Has, and standard methods to add, insert, delete, and access elements.

Array of NamedValue elements.

## Constructors

| Constructor                           | Description                                                    |
| :------------------------------------ | :------------------------------------------------------------- |
| `NamedValueArray()`                   | Creates an empty array of NamedValue elements.                 |
| `NamedValueArray( NamedValue value )` | Creates an array of NamedValue elements with a single element. |

## Methods

| Method                                   | Description                                                                           |
| :--------------------------------------- | :------------------------------------------------------------------------------------ |
| `NamedValueArray()`                      | Creates an empty array of NamedValue elements.                                        |
| `NamedValueArray( NamedValue value )`    | Creates an array of NamedValue elements with a single element.                        |
| `Int Count()`                            | Returns the number of elements in the array.                                          |
| `NamedValue GetAt( Int index )`          | Returns the element with the specified index.                                         |
| `Void Add( NamedValue )`                 | Appends the given NamedValue element to the end of the array.                         |
| `Void Add( NamedValueArray )`            | Appends the given array to the end of the array.                                      |
| `Void InsertAt( Int index, NamedValue )` | Inserts the given named value at the given position.                                  |
| `Void DeleteAll()`                       | Deletes all elements of the array.                                                    |
| `Void DeleteAt( Int index )`             | Deletes the element with the given index.                                             |
| `Int FindByName( String name )`          | Returns the index of the element with the given name. The name is not case sensitive. |
| `Logic Has( NamedValue )`                | Returns `True` if the given named value exists in the array.                          |
