Skip to main content

SetFolderSelectionStates

Description​

Selects or unselects property folders.

Syntax​

// shellListing points to instance of IShellListing
await shellListing.SetFolderSelectionStates(folders, select);

Parameters​

NameOptionalityTypeDescription
foldersRequiredArray < IFolder >FolderCollection to identify the property folders
to select or unselect. Note:the array contains one IFolderDef item for each property
folder to select or unselect. It is not a path to single property folder.
selectRequiredbooleanTrue to select, false to unselect.

Return type​

TypeDescription
Promise < void >Method does not return a value

Exceptions​

ArgumentError - When folders or select is null or undefined.