# InputItem Method

> Returns the XMLElement of an XMLElements collection that contains the current input position, or no object if the input position is in none of them.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Text Control ActiveX > API Reference > XMLElements > InputItem Method
- **198 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelements/inputitem-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelements/inputitem-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelements/inputitem-method/llms-full.txt

---

Returns the XML element of an [XMLElements](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelements/llms-full.txt) collection which contains the current input position.

### Syntax

```vbscript
XMLElements.InputItem
```

### Return Value

The method returns an [XMLElement](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/llms-full.txt) object. If the current input position is not in an element of this collection no object is returned.

### Data Types

| Name | Data type |
|---|---|
| Return value | [XMLElement Object](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/llms-full.txt) |

### See Also

- [Working with XML Files](https://docs.textcontrol.com/tx-text-control-activex/document-editor/xml/llms-full.txt)
- [XMLElement Object](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/llms-full.txt)
- [XMLElements Collection](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelements/llms-full.txt)
- [Programming Category: XML Programming](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/xml/llms-full.txt)

---

## Nearby

- **Previous:** [Count Property](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelements/count-property/llms-full.txt)
- **Next:** [InputItemIndex Property](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelements/inputitemindex-property/llms-full.txt)
