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

Namespace: [Phoenix.Pacz](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.Pacz)\
Assembly: Phoenix.Pacz.dll

A concrete implementation of IRuntimeVariable.

This class implements IRuntimeVariable and adds the ability to change it after it
has been created.

This class is not thread safe.

```csharp theme={null}
public class RuntimeVariable : AbstractDisposable, IRuntimeVariable, IDisposable

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
AbstractDisposable ←
[RuntimeVariable](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.Pacz.RuntimeVariable)

#### Implements

[IRuntimeVariable](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.PaczAPI.IRuntimeVariable),
[IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

#### Inherited Members

AbstractDisposable.disposed,
AbstractDisposable.Dispose(),
AbstractDisposable.IsDisposed,
AbstractDisposable.Dispose(bool),
[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

[RuntimeVariable()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.Pacz.RuntimeVariable.-ctor.md)

Constructor which generates an unusable empty RuntimeVariable.

[RuntimeVariable(string, VariableType, IVariableValue, string, string, string, object, object, object\[\], string\[\], IReadOnlyDictionary\<string, string>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.Pacz.RuntimeVariable.-ctor)

Constructor

[RuntimeVariable(string, VariableMetadata, IVariableValue, IReadOnlyDictionary\<string, string>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.Pacz.RuntimeVariable.-ctor.md)

Constructor

[RuntimeVariable(IRuntimeVariable)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.Pacz.RuntimeVariable.-ctor.md#runtimevariable-iruntimevariable)

Copy constructor. Makes a copy of the source such that dispose independently cleans up
the source and the new RuntimeVariable.

## Properties

[CustomMetadata](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.Pacz.RuntimeVariable.CustomMetadata.md)

Get the variable custom metadata which allows for arbitrary
storage of name/value pairs with the variable.

[DefaultValue](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.Pacz.RuntimeVariable.DefaultValue.md)

The default value for this variable.

[Metadata](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.Pacz.RuntimeVariable.Metadata.md)

The metadata about the variable

[Name](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.Pacz.RuntimeVariable.Name.md)

The name of the variable. Must be non-empty and may use dotted notation.

## Methods

[CloneDefaultValueFrom(IVariableValue)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.Pacz.RuntimeVariable.CloneDefaultValueFrom.md#clonedefaultvaluefrom-ivariablevalue)

Sets `Phoenix.Pacz.RuntimeVariable.DefaultValue` by making a clone of
`value`.

[Dispose(bool)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.Pacz.RuntimeVariable.Dispose.md)

Standard disposal.

[MoveDefaultValueFrom(IVariableValue)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.Pacz.RuntimeVariable.MoveDefaultValueFrom.md#movedefaultvaluefrom-ivariablevalue)

Sets `Phoenix.Pacz.RuntimeVariable.DefaultValue` by taking ownership of
`value`
