---
title: "The ItemId method"
slug: "the-itemid-method"
abstract: "Overview of the ItemId method and properties."
---
# The ItemId method

To define the item ID value of the event, use the `ItemId()` method.

| Property | Details |
| --- | --- |
| UT SDK method | `ItemId(string)` |
| Required/optional | Optional |
| Multiple invocations | Multiple invocations are forbidden and cause an *InvalidOperationException* exception |
| Value validation | Must contain a proper item ID value |