---
title: "The Text method"
slug: "the-text-method"
abstract: "Overview of the Text method and properties."
---
# The Text method

To define the Text field value, use the `Text()` method.

| Property | Details |
| --- | --- |
| UT SDK methods | `Text(string)` |
| Required/optional | Optional |
| Multiple invocations | Multiple invocations are forbidden and cause an *InvalidOperationException* exception |
| Value validation | Must contain at least one symbol besides whitespace characters |