Repository.Variable.AddVariable

Syntax

 * AddVariable( var cVariable )

Parameters:
 * var: The cVariable to add.

Usage Example
Dim MyRepository As New Repository Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") MyRepository.Project.SetCurrentProject(0) Dim newVariable As New cVariable("NewVariable1") Dim SuccessAddVariable As Boolean SuccessAddVariable = MyRepository.Variable.AddVariable(newVariable)