Repository.Variable.UpdateVariable

Syntax

 * UpdateVariable( var cVariable )

Parameters
 * var: The cVariable to update.

Usage Example
Dim MyRepository As New Repository Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") MyRepository.Project.SetCurrentProject(0) Dim ListOfVariables As cVariable ListOfVariables= MyRepository.Variable.GetAllVariables Dim SuccessUpdateVariable As Boolean SuccessUpdateVariable = MyRepository.Variable.UpdateVariable(ListOfVariables(0))