Class: SelectionManager
The SelectionManager (accessible from the ExtensionContext) is responsible for the management of all Selection objects, and provides the user the ability to create new Selection objects for use within an extension.
Constructors
new SelectionManager()
private
new SelectionManager():SelectionManager
Returns
Properties
selection
readonly
selection:Selection
Remarks
The primary Selection object is always present (even if it's empty) and cannot be deleted. This object represents the main selection object which is always accessible through the UI, and by default is synchronized between the client and server.
Throws
This property can throw when used.
Methods
create()
create():
Selection
Returns
Remarks
Create a new, empty Selection object
This function can't be called in read-only mode.
Throws
This function can throw errors.