Synced
EditorSelectionState.CopyTargets
Section titled “EditorSelectionState.CopyTargets”
- Copies currently available selected targets into a caller-owned temporary collection.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public int Inno.Editor.Interactions.EditorSelectionState.CopyTargets<TTarget>(System.Collections.Generic.ICollection<TTarget> destination) where TTarget : classType parameters
Section titled “Type parameters”Type parameter TTarget: The target type accepted by the caller.
Parameters
Section titled “Parameters”Parameter destination: The collection to clear and fill; do not retain live entries across callbacks.
Returns
Section titled “Returns”The number of targets resolved in this callback.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The destination is null.