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

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

Represents the TD Dataset Manager, used to interact with datasets (solution results)
within TD.

```csharp theme={null}
public class DatasetManager : TdConnected
```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
TdConnected ←
[DatasetManager](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.PostProcessing.DatasetManager.md)

## Inherited Members

[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.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),
[object.ReferenceEquals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Constructors

### DatasetManager(ThermalDesktop)

```csharp theme={null}
public DatasetManager(ThermalDesktop _td)
```

#### Parameters

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

## Methods

### CreateDataset(string, string, DataSourceTypes)

Creates a new Dataset using defaults from this TD instance.

```csharp theme={null}
public Dataset CreateDataset(string name, string pathname, Dataset.DataSourceTypes type = DataSourceTypes.SF)
```

#### Parameters

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

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

`type` [Dataset](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.PostProcessing.Dataset.md).[DataSourceTypes](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.PostProcessing.Dataset.DataSourceTypes.md)

#### Returns

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

#### See Also

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

### DeleteDataset(string)

```csharp theme={null}
public void DeleteDataset(string name)
```

#### Parameters

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

### GetCurrentDataset()

Gets the currently-activated Dataset from this TD instance.

```csharp theme={null}
public Dataset GetCurrentDataset()
```

#### Returns

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

#### See Also

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

### GetDataset(string)

Gets an existing Dataset from this TD instance.

```csharp theme={null}
public Dataset GetDataset(string name)
```

#### Parameters

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

#### Returns

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

#### See Also

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

### GetDatasets()

Gets all the Datasets in this TD instance.

```csharp theme={null}
public List<Dataset> GetDatasets()
```

#### Returns

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[Dataset](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.PostProcessing.Dataset.md)>

#### See Also

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

## See Also

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