> ## 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.

# Class CaseSet

Namespace: [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD)\
Assembly: OpenTD.dll

Client-side representation of a Case Set in a TD instance.

```csharp theme={null}
public class CaseSet : CaseSetData, IUpdatable
```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[OpenTDObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.OpenTDObject.md) ←
CaseSetData ←
[CaseSet](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.CaseSet.md)

## Implements

[IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.IUpdatable.md)

## Inherited Members

[OpenTDObject.SetFrom(OpenTDObject)](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.OpenTDObject.md#setfrom-opentdobject),
[OpenTDObject.Update()](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.OpenTDObject.md#update),
[OpenTDObject.UpdateFromTD()](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.OpenTDObject.md#updatefromtd),
[OpenTDObject.UpdateIn(ThermalDesktop)](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.OpenTDObject.md#updatein-thermaldesktop),
[OpenTDObject.CreateIn(ThermalDesktop)](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.OpenTDObject.md#createin-thermaldesktop),
[OpenTDObject.TdProxy](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.OpenTDObject.md#tdproxy),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Methods

### CreateIn(ThermalDesktop)

Creates the TD entity in the specified TD instance.

```csharp theme={null}
public override void CreateIn(ThermalDesktop td)
```

#### Parameters

`td` [ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.ThermalDesktop.md)

### Rename(string, string)

Renames both this client-side instance and the TD entity.

```csharp theme={null}
public void Rename(string newName, string newGroupName = "")
```

#### Parameters

`newName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`newGroupName` [string](https://learn.microsoft.com/dotnet/api/system.string)

### ReplaceFilenames(string, string)

```csharp theme={null}
public void ReplaceFilenames(string oldSubstring, string newSubstring)
```

#### Parameters

`oldSubstring` [string](https://learn.microsoft.com/dotnet/api/system.string)

`newSubstring` [string](https://learn.microsoft.com/dotnet/api/system.string)

### Run(bool)

Attempts to run the case set from within its TD instance.
Set useOldMethod to true for a less-verbose run method that
may not be compatible with every case configuration.

```csharp theme={null}
public void Run(bool useOldMethod = false)
```

#### Parameters

`useOldMethod` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Update()

Updates the TD entity with the latest client data.

```csharp theme={null}
public override void Update()
```

### UpdateFromTD()

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

```csharp theme={null}
public override void UpdateFromTD()
```

## See Also

[ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.ThermalDesktop.md)
