Skip to main content

ModelCenter APIs 2025 R2

ValueHolder

Last update: 16.07.2025

public class ValueHolder<T>

Object that allows pass-by-reference. Pass this object and have the called method set the value member.

Author

Dave

Constructors

ValueHolder constructor()
Default constructor; sets value to null.
constructor(value: T)
Constructor with an initial value.

Properties

Name Summary
value open var value: T
The value being held.

Connect with Ansys