Repository.Variable.UpdateVariable

Syntax

 * UpdateVariable( var cVariable )

Parameters
 * var: The cVariable to update.

Usage Example
Private WithEvents MyRepository As New Repository

Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath")

Dim ListOfVariables As cVariable ListOfVariables= MyRepository.GetAllVariables

Dim SuccessUpdateVariable As Boolean SuccessUpdateVariable = MyRepository.UpdateVariable(ListOfVariables(0))