> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenTD.UniqueNameObject Class Reference

An object that is uniquely-identified by its name, instead of, for example, an AutoCAD handle.

Inheritance diagram for OpenTD.UniqueNameObject:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_unique_name_object.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=6da0db62123bd787213dbd8eb36ab54c)

## Public Member Functions

| Type | Name |
| - | - |
| virtual void | [Rename](#ab83691a4d2f3bd34519f9372cfc73951) (string to) Use this method to rename the client-side object and the TD item it is linked to. |
| override string | [ToString](#af373d173d2d75fd2b4c6edb8ee4165b2) () |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#aa2e0aa2793e95a56891ef59fb4843ca2) ([OpenTDObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md) x) |
| void | [Update](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#a3197588bb4f42e3ec88659349dbf4905) () Updates the TD entity with the latest client data. |
| void | [UpdateFromTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#a61901cd5539657cbd9989fcfa361b8e7) () Updates the client-side instance with the latest data from the TD entity. |
| void | [UpdateIn](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#a1e5228ce309c9a85ec09e8119318024d) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md) td) Updates the TD entity corresponding to this object in the specified TD instance, if possible. |
| void | [CreateIn](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#a9805906b2a067b0ec475e7b6513a8d4f) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md) td) Creates the TD entity in the specified TD instance. |

## Protected Member Functions

| Type | Name |
| - | - |
| virtual string | [ModifyName](#a1343e99cd573893ee16d36c337fde7b1) (string name) |
| void | [ProxyRename](#af31349d8cc1cd5714747fdb836717a3e) (string from, string to) |

## Protected Attributes

| Type | Name |
| - | - |
| [ITdCommander](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_internal_1_1_communication_1_1_i_td_commander.md) | [TdProxy](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#a0da16592e6b635ca0def27b355d669b3) |

## Properties

| Type | Name |
| - | - |
| string | [Name](#a81ee04aec6314a6dd404826b41564162)`[get]` This object is uniquely-identified by this name. |
| string | [\_n](#a4546becfb33773b2b9d0ae2264c9dd2d)`[get, set]` Do not use. |

## Detailed Description

An object that is uniquely-identified by its name, instead of, for example, an AutoCAD handle.

**See also**

[OpenTD.OpenTDObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md)

## Member Function Documentation

### CreateIn()

```csharp theme={null}
void OpenTD.OpenTDObject.CreateIn(ThermalDesktop td)
```

`abstract` `inherited`

Creates the TD entity in the specified TD instance.

Implements [OpenTD.IReassignable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_reassignable.md#a94cbc52d002a10e44f5dc2daaf9c87db).

### ModifyName()

```csharp theme={null}
virtual string OpenTD.UniqueNameObject.ModifyName(string name)
```

`inline` `protected` `virtual`

Reimplemented in [OpenTD.SubmodelData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_submodel_data.md#a607b0ad2b1e47186137ea8149940f481).

### ProxyRename()

```csharp theme={null}
void OpenTD.UniqueNameObject.ProxyRename(
    string from,
    string to
)
```

`abstract` `protected`

### Rename()

```csharp theme={null}
virtual void OpenTD.UniqueNameObject.Rename(string to)
```

`inline` `virtual`

Use this method to rename the client-side object and the TD item it is linked to.

### SetFrom()

```csharp theme={null}
void OpenTD.OpenTDObject.SetFrom(OpenTDObject x)
```

`inline` `inherited`

### ToString()

```csharp theme={null}
override string OpenTD.UniqueNameObject.ToString()
```

`inline`

### Update()

```csharp theme={null}
void OpenTD.OpenTDObject.Update()
```

`abstract` `inherited`

Updates the TD entity with the latest client data.

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_updatable.md#a162ef7c717f51047a1d45c7df4282470).

### UpdateFromTD()

```csharp theme={null}
void OpenTD.OpenTDObject.UpdateFromTD()
```

`abstract` `inherited`

Updates the client-side instance with the latest data from the TD entity.

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_updatable.md#a47f3096415cfb5694fd822df8a1eceb0).

### UpdateIn()

```csharp theme={null}
void OpenTD.OpenTDObject.UpdateIn(ThermalDesktop td)
```

`inline` `inherited`

Updates the TD entity corresponding to this object in the specified TD instance, if possible.

Implements [OpenTD.IReassignable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/interface_open_t_d_1_1_i_reassignable.md#a90dffde7dd442e9d940f9e5c5fabde14).

## Member Data Documentation

### TdProxy

```csharp theme={null}
ITdCommander OpenTD.OpenTDObject.TdProxy
```

`protected` `inherited`

## Property Documentation

### \_n

```csharp theme={null}
string OpenTD.UniqueNameObject._n
```

`get` `set`

Do not use.

### Name

```csharp theme={null}
string OpenTD.UniqueNameObject.Name
```

`get`

This object is uniquely-identified by this name.

The documentation for this class was generated from the following file:

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/**UniqueNameObject.cs**
