The VariableDefinition parameter in the dynamic code editor allows access to the executing dynamic plugin variable definition.


/// <summary>

/// Executes the plugin and returns the list variable definition values.

/// </summary>

/// <returns>The CENTREL.XIA.Automation.Model.ListVariableDefinitionValues.</returns>

public override ListVariableDefinitionValues Execute()

{

       if (VariableDefinition.Input.AllowMultipleSelect)

       {

               // Determines whether multiple items can be selected.

       }

}