Open topic with navigation

# getComponent

The `getComponent` method returns a specified component object. The components are zero-indexed. For example, if you have six components, you can get the last component by using `edkmatch:getComponent(5)`.

## Syntax

`edkmatch:getComponent(index)`

## Arguments

Argument | Description
--- | ---
`index` | The number of the component to get (where the first component has the index zero).

## Returns

The component object at the specified index position in the match.

Related Topics

- getName
- setName
- getText
- setText

© Copyright 2013-2018 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm