adTempus API
ArcanaDevelopment.adTempus.Client.Collections Namespace / JobVariableCollection Class / Insert Method
The index to insert at.
The variable to add. The Name must be unique.


In This Topic
    Insert Method (JobVariableCollection)
    In This Topic
    Inserts a variable into the the collection.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Sub Insert( _
       ByVal index As Integer, _
       ByVal newVal As JobVariable _
    ) 
    public override void Insert( 
       int index,
       JobVariable newVal
    )
    public:
    void Insert( 
       int index,
       JobVariable^ newVal
    ) override 

    Parameters

    index
    The index to insert at.
    newVal
    The variable to add. The Name must be unique.
    Exceptions
    ExceptionDescription
    Thrown if the collection already contains a variable with the same Name.
    Remarks
    There isn't any point in using this method because the order of variables in the collection does not matter.
    See Also