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

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

Client-side representation of a User-Defined Fortran Array (UDFA).

```csharp theme={null}
[MessagePackObject(true)]
public class UDFA
```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[UDFA](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.UDFA.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

### UDFA()

```csharp theme={null}
public UDFA()
```

## Properties

### DoSave

```csharp theme={null}
public int DoSave { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### DoWarn

```csharp theme={null}
public bool DoWarn { get; set; }
```

#### Property Value

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

### DynamicUpdates

```csharp theme={null}
public bool DynamicUpdates { get; set; }
```

#### Property Value

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

### Enabled

```csharp theme={null}
public int Enabled { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### EnabledExpression

```csharp theme={null}
public ExpressionData EnabledExpression { get; set; }
```

#### Property Value

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

### IndexName

```csharp theme={null}
public string IndexName { get; set; }
```

#### Property Value

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

### InitData

```csharp theme={null}
public string InitData { get; set; }
```

#### Property Value

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

### InitType

```csharp theme={null}
public UDFA.UdfaInitType InitType { get; set; }
```

#### Property Value

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

### Length

```csharp theme={null}
public int Length { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### LengthExpression

```csharp theme={null}
public ExpressionData LengthExpression { get; set; }
```

#### Property Value

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

### Name

```csharp theme={null}
public string Name { get; set; }
```

#### Property Value

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

### Type

```csharp theme={null}
public UDFA.UdfaType Type { get; set; }
```

#### Property Value

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

### UdcaStringLength

```csharp theme={null}
public int UdcaStringLength { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### UdcaStringLengthExpression

```csharp theme={null}
public ExpressionData UdcaStringLengthExpression { get; set; }
```

#### Property Value

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

### UdfaValueType

```csharp theme={null}
public UDFA.ValueType UdfaValueType { get; set; }
```

#### Property Value

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

## Methods

### ToString()

Returns a string that represents the current object.

```csharp theme={null}
public override string ToString()
```

#### Returns

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

A string that represents the current object.

### Validate()

```csharp theme={null}
public void Validate()
```
