UTypedElementSelectionSet::ForEachSelectedElementHandle

Enumerate the handle of every selected element, optionally filtering to elements that implement the given interface.