GetBindingDisplayString doesn't return any info despite documentations

In the doc for showing current bindings - var bindingString = action.GetBindingDisplayString(out deviceLayout, out controlPath); seems to return two strings for device layout and control path.

However, this leads to "Argument 2 may not be passed with the ‘out’ keyword. Any ideas how I would accomplish the replacing text with icon example?

Ah, indeed, will push a fix to the docs.

The method needs an explicit binding index. See API docs here.

1 Like