SetVirtualSelection
Description
Overrides the items selection with a virtual selection. Items should be valid objects, otherwise the method will throw an exception and selection will not be changed.
Syntax
// shellListing points to instance of IShellListing
const result = await shellListing.SetVirtualSelection(objOrFileVers);
Parameters
Name | Optionality | Type | Description |
---|---|---|---|
objOrFileVers | Required | Array < ObjectFileVersionParams > | Array of object or file versions to select virtually. |
Return type
Type | Description |
---|---|
Promise < void > |