Skip to main content Skip to complementary content

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

Learn more

 

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!