FolderItemList Contains() Method

(SBM On-Premise/PaaS only) Used to determine whether a folder contains an item.

Function Signature

 bool Contains( tableId, recId )

Parameters

Parameter Type Description

tableId

int

Table ID of the item to search for.

recId

int

TS_ID of the item to search for.

Return

Type Description

bool

Returns true if the item is found in the list.

Technical Details

SBM ModScript version: 11.3.

Notes

This method searches a folder for a given item from a given table. This method assumes the list contains only FolderItem objects from a single folder and thus tells you whether that folder contains the item.

Related Topics

FolderItemList