Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Copies currently available selected targets into a caller-owned temporary collection.

API: scripting
Project: Inno.Editor.Interactions
Scope: Editor

public int InnoEditor.Interactions.EditorSelectionState.CopyTargets<TTarget>(System.Collections.Generic.ICollection<TTarget> destination) where TTarget : class

Type parameter TTarget: The target type accepted by the caller.

Parameter destination: The collection to clear and fill; do not retain live entries across callbacks.

The number of targets resolved in this callback.

Exception T:System.ArgumentNullException: The destination is null.