    

 ## On this page

  

 

 # getVariableDescription

 Last update: 30.07.2026 

public [getVariableDescription](get-variable-description.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [VariableDescription](./../-variable-description/index.md)

gets a description object for the specified variable

#### Return

a VariableDescription object

#### Parameters

namethe name of the variable#### Throws

[ModelCenterException](./../-model-center-exception/index.md)public [getVariableDescription](get-variable-description.md)(index: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [VariableDescription](./../-variable-description/index.md)

gets a description object for the specified variable

#### Return

a VariableDescription object

#### Parameters

indexthe array index of the variable (0-based index)#### Throws

[ModelCenterException](./../-model-center-exception/index.md)