---
title: "The ParentEventId method"
slug: "the-parenteventid-method"
abstract: "Overview of the ParentEventId method and properties."
---
# The ParentEventId method

To set the `parent` event, use the `ParentEventId()` method.

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