Skip to main content

Current selections

ON THIS PAGE

Current selections

Displays a string with selected values.

Example: Make a current selection

On the Field "Dim1" the following values have been selected "a" and "c"

	var currentSelection = App.GetCurrentSelection();
        foreach (var selectedField in currentSelection.selections)
        {
        	Console.WriteLine("Field: " + selectedField.Field);
        	Console.WriteLine("Selected values : " + selectedField.Selected);
        }

Output:

Field : Dim1 Selected values: a, c

See also